Merge branch 'main' into dev

This commit is contained in:
Nuno Coração 2025-01-10 23:22:27 +00:00 committed by GitHub
commit 31e19a6bc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 10 deletions

View file

@ -1,4 +1,4 @@
name: Create ZIP name: Create Config ZIP
on: on:
release: release:
types: [published] types: [published]
@ -8,14 +8,18 @@ jobs:
zip: zip:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v3
- run: zip -r config-default.zip config/_default - run: zip -r config-default.zip config/_default
- uses: actions/upload-artifact@v4 - name: Create/Update latest release # adds file static url
uses: softprops/action-gh-release@v1
with: with:
name: config-default files: config-default.zip
path: config-default.zip tag_name: latest
- name: Upload to release name: Latest Config Files
uses: softprops/action-gh-release@v2 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: with:
files: config-default.zip files: config-default.zip
tag_name: ${{ github.event.release.tag_name }} tag_name: ${{ github.event.release.tag_name }}