This commit is contained in:
2026-03-04 19:56:38 +01:00
parent 4fd4c51f8b
commit 5f16df2d93
2 changed files with 9 additions and 4 deletions

View File

@@ -3,7 +3,8 @@ run-name: Building and Releasing Main Branch 🚀
on: on:
push: push:
tags: tags:
- '**' - 'r**'
- '!p**'
jobs: jobs:
build: build:

View File

@@ -3,18 +3,22 @@ run-name: Building and Releasing Prerelease Branch 🚀
on: on:
push: push:
tags: tags:
- '**' - 'p**'
- '!r**'
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: false
strategy: strategy:
matrix: matrix:
dotnet: [ '8.0.405' ] dotnet: [ '8.0.405' ]
publishprofile: [ 'PublishLinuxX64', 'PublishWinX64' ] publishprofile: [ 'PublishLinuxX64', 'PublishWinX64' ]
name: Publish with Dotnet ${{ matrix.dotnet }} and Profile ${{ matrix.publishprofile }} and ${GITEA_HEAD_REF:-${GITEA_REF#refs/heads/}} name: Publish with Dotnet ${{ matrix.dotnet }} and Profile ${{ matrix.publishprofile }} and ${GITEA_HEAD_REF:-${GITEA_REF#refs/heads/}}
steps: steps:
- name: Extract Tag Message
shell: bash
run: echo "tag_message=$(git tag -l --format='%(contents:subject)'${GITHUB_REF#refs/*/})" >> $GITHUB_ENV
id: extract_tag_message
- name: Clone Project - name: Clone Project
uses: actions/checkout@master uses: actions/checkout@master
with: with:
@@ -35,7 +39,7 @@ jobs:
uses: akkuman/gitea-release-action@v1 uses: akkuman/gitea-release-action@v1
with: with:
name: Yee name: Yee
body: Test body: ${{ steps.extract_tag_message.outputs.tag_message }}
prerelease: true prerelease: true
md5sum: true md5sum: true
files: |- files: |-