We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb68280 commit e30cf6fCopy full SHA for e30cf6f
.github/workflows/release.yml
@@ -15,14 +15,17 @@ jobs:
15
branch: "photon-style"
16
steps:
17
- uses: actions/checkout@v2
18
- ref: ${{ matrix.branch }}
+ with:
19
+ ref: ${{ matrix.branch }}
20
21
- name: Release Structure
22
run: |
23
mkdir -v chrome
- mv -v * chrome/
24
- mv -v chrome/user.js .
25
- zip chrome user.js --out ${{ matrix.name }}.zip
+
+ shopt -s extglob
26
+ mv -v !(chrome|user.js) chrome/
27
28
+ zip -rv ${{ matrix.name }}.zip chrome user.js
29
30
- uses: softprops/action-gh-release@v1 # actions/create-release, actions/upload-release-asset is deprecated
31
if: startsWith(github.ref, 'refs/tags/')
0 commit comments