-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into main
- Loading branch information
Showing
1 changed file
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
name: Zip Files | ||
|
||
on: workflow_dispatch | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
zip-files: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: papeloto/action-zip@v1 | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Create directory | ||
run: | ||
mkdir build | ||
- name: Create artifact | ||
uses: montudor/[email protected] | ||
with: | ||
files: images/ manifest.json Screenshot.png popup.html popup.js w2ui-1.5.min.css w2ui-1.5.min.js | ||
recursive: true | ||
dest: extension.zip | ||
- uses: actions/upload-artifact@v1 | ||
args: zip -X -r build/paypalfeecalculator.zip . -x zip** build** *.git* *.md .replit Archiv.zip index.html | ||
- name: Upload to release | ||
uses: JasonEtco/upload-to-release@master | ||
with: | ||
name: my-artifact | ||
path: /zip/extension.zip | ||
args: build/paypalfeecalculator.zip application/zip | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |