Skip to content

Commit

Permalink
Fix: workflow invalid update
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Jun 9, 2021
1 parent eb68280 commit 57ed230
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,20 @@ jobs:
branch: "photon-style"
steps:
- uses: actions/checkout@v2
ref: ${{ matrix.branch }}
with:
ref: ${{ matrix.branch }}

- name: Release Structure
run: |
mkdir -v chrome
mv -v * chrome/
mv -v chrome/user.js .
zip chrome user.js --out ${{ matrix.name }}.zip
shopt -s extglob
mv -v !(chrome|user.js) chrome/
- uses: papeloto/action-zip@v1
with:
files: chrome/ user.js
dest: ${{ matrix.name }}.zip

- uses: softprops/action-gh-release@v1 # actions/create-release, actions/upload-release-asset is deprecated
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 57ed230

Please sign in to comment.