Skip to content

Commit

Permalink
ci: fix release job
Browse files Browse the repository at this point in the history
  • Loading branch information
tangtang95 committed May 11, 2024
1 parent 81b88d0 commit 3a8970d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,19 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: ${{ env.APP_NAME }}
- name: Create release folder
run: |
mkdir release-files
mv ./${{ env.APP_NAME }}.iro ./release-files/${{env.APP_NAME }}.iro
ls -R
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG_VERSION=${GITHUB_REF#refs/*/}
gh release create $TAG_VERSION --generate-notes --latest -t "${{ env.APP_NAME }}-$TAG_VERSION" ./*
gh release create $TAG_VERSION --generate-notes --latest -t "${{ env.APP_NAME }}-$TAG_VERSION" ./release-files/*

0 comments on commit 3a8970d

Please sign in to comment.