Update stable branch #13
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: Make Stable Release | ||
# TODO: take/create release notes (maybe just do that on the latest tag) | ||
on: workflow_dispatch | ||
jobs: | ||
make_stable_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Update stable branch | ||
run: | | ||
./scripts/update_stable_branch.sh | ||
make_stable_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: mkdir /tmp/artifacts | ||
- name: Download artifacts | ||
run: | | ||
curl -S -s -L -O --output-dir /tmp/artifacts --connect-timeout 60 https://github.com/MrAwesome/decktricks/releases/download/latest/decktricks_install.desktop | ||
curl -S -s -L -O --output-dir /tmp/artifacts --connect-timeout 60 https://github.com/MrAwesome/decktricks/releases/download/latest/decktricks.tar.gz | ||
- name: Update stable release | ||
uses: softprops/action-gh-release@v2 | ||
#if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
fail_on_unmatched_files: true | ||
prerelease: false | ||
name: Decktricks Stable | ||
tag_name: stable | ||
files: | | ||
/tmp/artifacts/decktricks.tar.gz | ||
/tmp/artifacts/decktricks_install.desktop |