Skip to content

Commit

Permalink
Update create-config-zip.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nunocoracao authored Jan 10, 2025
1 parent 4efc324 commit c15cd36
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/create-config-zip.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create Config ZIP
name: Create ZIP
on:
release:
types: [published]
Expand All @@ -10,16 +10,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: zip -r config-default.zip config/_default
- name: Create/Update latest release # adds file static url
uses: softprops/action-gh-release@v1
- uses: actions/upload-artifact@v3
with:
files: config-default.zip
tag_name: latest
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
name: config-default
path: config-default.zip
- name: Upload to release
uses: softprops/action-gh-release@v1
with:
files: config-default.zip
tag_name: ${{ github.event.release.tag_name }}
tag_name: ${{ github.event.release.tag_name }}

0 comments on commit c15cd36

Please sign in to comment.