We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94762b7 commit 5174aecCopy full SHA for 5174aec
.github/workflows/release.yml
@@ -0,0 +1,29 @@
1
+name: Release
2
+
3
+on: push
4
5
+jobs:
6
+ publish:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout
10
+ uses: actions/checkout@v3
11
+ with:
12
+ fetch-depth: 0
13
14
+ - run: |
15
+ cd pkg
16
+ for p in */; do
17
+ cd "$p"
18
+ zip -r "${p%/}.zip" "${p%/}" -x "*.DS_Store" && mv "${p%/}.zip" ../
19
+ cd ..
20
+ done
21
22
23
+ - name: Upload style to release
24
+ uses: svenstaro/upload-release-action@v2
25
+ if: startsWith(github.ref, 'refs/tags/')
26
27
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
28
+ file_glob: true
29
+ file: pkg/*.zip
.gitignore
@@ -102,3 +102,5 @@ venv.bak/
102
103
# mypy
104
.mypy_cache/
105
106
+*.zip
0 commit comments