safsfsd
Some checks failed
Publish Docker image / Push docker image to registry (push) Failing after 6s
Publish release zip / build (push) Successful in 59s

This commit is contained in:
sim0n00ps 2025-05-04 21:30:18 +01:00
parent f1d1272397
commit 885662fd16

View File

@ -16,13 +16,16 @@ jobs:
- name: Show .NET version
run: dotnet --version
- name: Extract version from tag
- name: Extract tag name and version
id: version
run: |
FULL_REF="${{ gitea.ref }}"
TAG="${FULL_REF##refs/tags/OFDLV}"
echo "Version: $TAG"
echo "version=$TAG" >> "$GITEA_OUTPUT"
TAG="${FULL_REF##refs/tags/}"
VERSION="${TAG#OFDLV}"
echo "Tag: $TAG"
echo "Version: $VERSION"
echo "tag=$TAG" >> "$GITEA_OUTPUT"
echo "version=$VERSION" >> "$GITEA_OUTPUT"
- name: Build for Windows and Linux
run: |
@ -60,7 +63,7 @@ jobs:
- name: Create release and upload artifact
uses: ./.gitea-actions/gitea-release-action
with:
tag: ${{ gitea.ref }}
tag: ${{ steps.version.outputs.tag }}
title: ${{ steps.version.outputs.version }}
draft: true
files: ./OFDLV${{ steps.version.outputs.version }}.zip