Skip to content

Commit

Permalink
Fix release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Apr 24, 2024
1 parent ae9065d commit 771dbac
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ on:
release:
types: [published]

permissions:
contents: write

jobs:

build:
name: Upload Release
runs-on: ubuntu-latest

env:
GH_TOKEN: ${{ github.token }}

steps:
# Initialization
- uses: actions/checkout@v3
Expand All @@ -27,11 +33,7 @@ jobs:
- name: Zip Source code
run: zip -r ../builds/SourceCodeUseThisOne.zip *
- name: Upload Source to release
uses: Shopify/[email protected]
with:
name: SourceCodeUseThisOne.zip
path: ../builds/SourceCodeUseThisOne.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.event.release.tag_name}} ./builds/SourceCodeUseThisOne.zip

- run: npm ci

Expand Down

0 comments on commit 771dbac

Please sign in to comment.