safsfsd
This commit is contained in:
parent
f1d1272397
commit
885662fd16
@ -16,13 +16,16 @@ jobs:
|
|||||||
- name: Show .NET version
|
- name: Show .NET version
|
||||||
run: dotnet --version
|
run: dotnet --version
|
||||||
|
|
||||||
- name: Extract version from tag
|
- name: Extract tag name and version
|
||||||
id: version
|
id: version
|
||||||
run: |
|
run: |
|
||||||
FULL_REF="${{ gitea.ref }}"
|
FULL_REF="${{ gitea.ref }}"
|
||||||
TAG="${FULL_REF##refs/tags/OFDLV}"
|
TAG="${FULL_REF##refs/tags/}"
|
||||||
echo "Version: $TAG"
|
VERSION="${TAG#OFDLV}"
|
||||||
echo "version=$TAG" >> "$GITEA_OUTPUT"
|
echo "Tag: $TAG"
|
||||||
|
echo "Version: $VERSION"
|
||||||
|
echo "tag=$TAG" >> "$GITEA_OUTPUT"
|
||||||
|
echo "version=$VERSION" >> "$GITEA_OUTPUT"
|
||||||
|
|
||||||
- name: Build for Windows and Linux
|
- name: Build for Windows and Linux
|
||||||
run: |
|
run: |
|
||||||
@ -60,7 +63,7 @@ jobs:
|
|||||||
- name: Create release and upload artifact
|
- name: Create release and upload artifact
|
||||||
uses: ./.gitea-actions/gitea-release-action
|
uses: ./.gitea-actions/gitea-release-action
|
||||||
with:
|
with:
|
||||||
tag: ${{ gitea.ref }}
|
tag: ${{ steps.version.outputs.tag }}
|
||||||
title: ${{ steps.version.outputs.version }}
|
title: ${{ steps.version.outputs.version }}
|
||||||
draft: true
|
draft: true
|
||||||
files: ./OFDLV${{ steps.version.outputs.version }}.zip
|
files: ./OFDLV${{ steps.version.outputs.version }}.zip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user