From 2cf1f692373109da16c7ce7f2526c41d4244c58c Mon Sep 17 00:00:00 2001 From: Michael Helfrich Date: Fri, 4 Feb 2022 23:25:11 -0500 Subject: [PATCH] Add the GitHub Actions workflow for tagging new releases of Prusaslicer. --- .github/workflows/tag.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/tag.yml diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml new file mode 100644 index 0000000..0ecdb1b --- /dev/null +++ b/.github/workflows/tag.yml @@ -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 \ No newline at end of file