Skip to content

Commit

Permalink
👷 update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
csc530 committed Jun 10, 2024
1 parent d488f4f commit 54a2bfb
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ on:
workflow_dispatch:

jobs:
setup-release:
runs-on: ubuntu-latest

steps:
- name: Create Release
run: gh release create ${{ github.ref_name }} --draft

publish:
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -33,14 +40,10 @@ jobs:
name: publish
path: ./publish/

# - name: zip
# run: bash zip -r ../${{ matrix.os }}_resumer_${{ github.ref_name }}.zip ../publish
# working-directory: ./publish

- name: zip files
- name: Zip Files
run: 7z a ./${{ matrix.os }}_resumer_${{ github.ref_name }}.zip ./publish

- name: Create GitHub Release
- name: Upload Release Asset
env:
GH_TOKEN: ${{ github.token }}
run: gh release create ${{ github.ref_name }} ${{ matrix.os }}_resumer_${{ github.ref_name }}.zip --draft
run: gh release upload ${{ github.ref_name }} ${{ matrix.os }}_resumer_${{ github.ref_name }}.zip

0 comments on commit 54a2bfb

Please sign in to comment.