safsfsd
This commit is contained in:
parent
f1d1272397
commit
885662fd16
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user