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 e30cf6f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ 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/
zip -rv ${{ matrix.name }}.zip chrome user.js
- 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 e30cf6f

Please sign in to comment.