batch-example-2/.github/workflows/release.yml

33 lines
974 B
YAML
Raw Normal View History

2023-11-20 21:08:07 +00:00
name: release
run-name: from develop to build
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: RouxAntoine/checkout@v3.5.4
with:
token: ${{ secrets.BOT_TOKEN }}
fetch-depth: '1'
- id: get-latest-release
uses: sigyl-actions/gitea-action-get-latest-release@develop/no-error
with:
token: ${{ secrets.BOT_TOKEN }}
- id: release-bumper
uses: sigyl-actions/release-bumper@v0.0.1
with:
release: ${{ steps.get-latest-release.outputs.release }}
default-release: v0.0.1
level: patch
- uses: sigyl-actions/gitea-action-release@v0.0.1
with:
note: |
this is a release
2023-11-21 10:52:42 +00:00
to do - make more sense of this!!!
2023-11-20 21:08:07 +00:00
tag: ${{ steps.release-bumper.outputs.release }}
title: ${{ steps.release-bumper.outputs.release }}
token: ${{ secrets.BOT_TOKEN }}