mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 14:35:43 -06:00
Update create-config-zip.yml
This commit is contained in:
parent
16716dbb14
commit
26d1205439
1 changed files with 7 additions and 11 deletions
18
.github/workflows/create-config-zip.yml
vendored
18
.github/workflows/create-config-zip.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Create Config ZIP
|
name: Create ZIP
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
@ -10,16 +10,12 @@ 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
|
||||||
- name: Create/Update latest release # adds file static url
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: config-default
|
||||||
|
path: config-default.zip
|
||||||
|
- name: Upload to release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: config-default.zip
|
files: config-default.zip
|
||||||
tag_name: latest
|
tag_name: ${{ github.event.release.tag_name }}
|
||||||
name: Latest Config Files
|
|
||||||
body: Automated config files bundle
|
|
||||||
- name: Add to version release # adds file to the release assets
|
|
||||||
if: github.event_name == 'release' # run on actual releases, not manual triggers
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
files: config-default.zip
|
|
||||||
tag_name: ${{ github.event.release.tag_name }}
|
|
||||||
|
|
Loading…
Reference in a new issue