33 lines
974 B
YAML
33 lines
974 B
YAML
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
|
|
to do - make more sense of this!!!
|
|
tag: ${{ steps.release-bumper.outputs.release }}
|
|
title: ${{ steps.release-bumper.outputs.release }}
|
|
token: ${{ secrets.BOT_TOKEN }}
|
|
|