Skip to content

Commit

Permalink
add action zip file
Browse files Browse the repository at this point in the history
  • Loading branch information
jumping2000 committed Aug 15, 2023
1 parent 6724e5a commit 49d4261
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/zip_creation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
release:
types: [published]

permissions:
contents: write

jobs:
zip-files:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v3

- name: 📦 Create zip file for notifier
run: |
cd "${{ github.workspace }}/apps"
zip -r notifier.zip notifier
- name: 📤 Upload the zip file as a release asset
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "${{ github.workspace }}/apps/notifier.zip"
asset_name: notifier.zip
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 49d4261

Please sign in to comment.