mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 22:45:42 -06:00
Update create-config-zip.yml
This commit is contained in:
parent
3bdb1205d9
commit
07bf4e93e0
1 changed files with 3 additions and 7 deletions
10
.github/workflows/create-config-zip.yml
vendored
10
.github/workflows/create-config-zip.yml
vendored
|
@ -1,9 +1,7 @@
|
||||||
name: Create ZIP
|
name: Create ZIP
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
branches: ["main"]
|
types: [published]
|
||||||
paths:
|
|
||||||
- 'config/_default/**'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -12,8 +10,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: zip -r config-default.zip config/_default
|
- run: zip -r config-default.zip config/_default
|
||||||
- uses: actions-ecosystem/action-get-latest-tag@v1
|
|
||||||
id: get-latest-tag
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: config-default
|
name: config-default
|
||||||
|
@ -22,4 +18,4 @@ jobs:
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: config-default.zip
|
files: config-default.zip
|
||||||
tag_name: ${{ steps.get-latest-tag.outputs.tag }}
|
tag_name: ${{ github.ref }}
|
||||||
|
|
Loading…
Reference in a new issue