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

Commit

Permalink
chore: add new release action
Browse files Browse the repository at this point in the history
  • Loading branch information
akshat46 committed Mar 4, 2021
1 parent 4a21dc9 commit fe2467f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# zipping
zip-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: montudor/action-zip@v0.1.1
- name: Zip Folder
run: zip -r flyingfox.zip chrome other_configs treestyletab
- name: Tar Folder
run: tar -czf flyingfox.tar.gz chrome other_configs treestyletab
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ridedott/release-me-action@master
with:
disable-changelog: true
release-branches: '["master"]'
release-assets: |
flyingfox.zip
flyingfox.tar.gz
31 changes: 0 additions & 31 deletions .github/workflows/release.yml.bk

This file was deleted.

0 comments on commit fe2467f

Please # to comment.