v2.81.0 #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Config 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 | |
- name: Create/Update latest release # adds file static url | |
uses: softprops/action-gh-release@v1 | |
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 | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: config-default.zip | |
tag_name: ${{ github.event.release.tag_name }} |