Add the GitHub Actions workflow for tagging new releases of Prusaslicer.

This commit is contained in:
Michael Helfrich 2022-02-04 23:25:11 -05:00
parent a7baaa7b97
commit 2cf1f69237

18
.github/workflows/tag.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: tag
on:
schedule:
- cron: "0 0 * * *" # Every night at Midnight.
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: sergeysova/jq-action@v2 # Needed for parsing the JSON of the Prusaslicer releases.
- name: checkout repo content
uses: actions/checkout@v2 # Checkout the repository content to GitHub's runner.
- name: Tag the latest Prusaslicer if available
run: |
chmod +x ./tag_latest_prusaslicer.sh
./tag_latest_prusaslicer.sh