Skip to content

Commit

Permalink
Update workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PanosK92 authored Jan 16, 2025
1 parent 2ff90aa commit 4f488bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,17 @@ jobs:
name: spartan_vulkan_debug
path: spartan_vulkan_debug.7z

- name: Get date for versioning
id: get_date
run: echo "version=$(date +'%Y.%m.%d')" >> $GITHUB_OUTPUT
- name: Get date and time for versioning
id: get_datetime
run: echo "version=$(date +'%Y.%m.%d-%H.%M')" >> $GITHUB_OUTPUT

- name: Publish release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "v${{ steps.get_date.outputs.version }}"
automatic_release_tag: "v${{ steps.get_datetime.outputs.version }}"
prerelease: true
title: "Version ${{ steps.get_date.outputs.version }}"
title: "Version ${{ steps.get_datetime.outputs.version }}"
files: |
spartan_vulkan_release.7z
spartan_vulkan_debug.7z
Expand Down

0 comments on commit 4f488bd

Please sign in to comment.