Skip to content

Auto Releaser

Auto Releaser #14

Workflow file for this run

name: Auto Releaser
on:
# Run manually
workflow_dispatch:
# Or on a schedule
schedule:
# At 13:37 on day-of-month 7.
- cron: '37 13 7 * *'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: cardinalby/git-get-release-action@v1
id: get_release
env:
GITHUB_TOKEN: ${{ github.token }}
with:
latest: true
draft: true
doNotFailIfNotFound: true
- uses: eregon/publish-release@v1
if: steps.get_release.outputs.id != ''
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_id: ${{ steps.get_release.outputs.id }}