Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit fe2467f

Browse files
committed
chore: add new release action
1 parent 4a21dc9 commit fe2467f

File tree

2 files changed

+30
-31
lines changed

2 files changed

+30
-31
lines changed

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on:
2+
# Triggers the workflow on push or pull request events but only for the master branch
3+
push:
4+
branches: [main]
5+
6+
# Allows you to run this workflow manually from the Actions tab
7+
workflow_dispatch:
8+
9+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
10+
jobs:
11+
# zipping
12+
zip-release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@master
16+
- uses: montudor/action-zip@v0.1.1
17+
- name: Zip Folder
18+
run: zip -r flyingfox.zip chrome other_configs treestyletab
19+
- name: Tar Folder
20+
run: tar -czf flyingfox.tar.gz chrome other_configs treestyletab
21+
- name: Release
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
uses: ridedott/release-me-action@master
25+
with:
26+
disable-changelog: true
27+
release-branches: '["master"]'
28+
release-assets: |
29+
flyingfox.zip
30+
flyingfox.tar.gz

.github/workflows/release.yml.bk

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)