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 3a29652 commit 3e1cfcc
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,10 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: ./${{ env.APP_NAME }}.iro
- name: Rename artifacts files
run: |
mkdir release-files
mv ./${{ env.APP_NAME }}.iro ./release-files/${{env.APP_NAME }}.iro
ls -R
name: ${{ env.APP_NAME }}
- 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" ./release-files/*
gh release create $TAG_VERSION --generate-notes --latest -t "${{ env.APP_NAME }}-$TAG_VERSION" ./*

0 comments on commit 3e1cfcc

Please sign in to comment.