Skip to content

Commit

Permalink
ci: fix pre-release names
Browse files Browse the repository at this point in the history
  • Loading branch information
SrGaabriel authored Sep 5, 2024
1 parent 1c87a82 commit 3a7054f
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,28 @@ jobs:

- name: Download all artifacts
uses: actions/download-artifact@v3
with:
path: artifacts

- name: Display structure of downloaded files
run: ls -R

- name: Generate release tag
id: tag
run: |
echo "release_tag=release-$(date +'%Y.%m.%d-%H%M%S')" >> $GITHUB_OUTPUT
- name: Create pre-release
uses: softprops/action-gh-release@v1
with:
files: |
artifacts/compiler/gwydion.jar
artifacts/compiler/compiler.kexe
artifacts/compiler/compiler.exe
artifacts/jester/jester
compiler/gwydion.jar
compiler/compiler.kexe
compiler/compiler.exe
jester/jester
prerelease: true
tag_name: ${{ steps.tag.outputs.release_tag }}
name: Pre-release ${{ steps.tag.outputs.release_tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
tag_name: ${{ github.sha }}
name: Pre-release ${{ github.sha }}
Expand Down

0 comments on commit 3a7054f

Please sign in to comment.