Get version from tag

This commit is contained in:
2022-12-19 19:15:44 +01:00
parent c1c11e9b4f
commit 218a290e10
4 changed files with 38 additions and 3 deletions

View File

@@ -1,6 +1,9 @@
name: Alma build
on: [push]
on:
push:
tags:
- "v*"
jobs:
build:
@@ -26,6 +29,7 @@ jobs:
dotnet-version: '7.0.x'
- name: Patch version
run: ${{ matrix.target.version_script }}
continue-on-error: true
- name: Restore dependencies
run: dotnet restore src/Alma
- name: Build