Skip to content

Auto Releaser

Auto Releaser #11

Workflow file for this run

name: Auto Releaser
on:
# Run manually
workflow_dispatch:
# Or on a schedule
schedule:
# run day 1 each month 00:00
- cron: '0 0 1 * *'
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 }}