blowfish/.github/workflows/create-config-zip.yml
Nuno Coração 199d9f4cce
Some checks failed
Test Build / Build Example Site (push) Has been cancelled
Merge pull request #1894 from nunocoracao/dependabot/github_actions/dev/actions/upload-artifact-4
👷 Bump actions/upload-artifact from 3 to 4
2025-01-01 16:08:22 +00:00

21 lines
522 B
YAML

name: Create ZIP
on:
release:
types: [published]
workflow_dispatch:
jobs:
zip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: zip -r config-default.zip config/_default
- uses: actions/upload-artifact@v4
with:
name: config-default
path: config-default.zip
- name: Upload to release
uses: softprops/action-gh-release@v2
with:
files: config-default.zip
tag_name: ${{ github.event.release.tag_name }}