Add version scripts
This commit is contained in:
@@ -12,16 +12,20 @@ jobs:
|
||||
runner: windows-latest
|
||||
name: windows
|
||||
outputname: Alma.exe
|
||||
version_script: .scripts/versioning.ps1
|
||||
- runtime: linux-x64
|
||||
runner: ubuntu-latest
|
||||
name: linux
|
||||
outputname: Alma
|
||||
version_script: .scripts/versioning.sh
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '7.0.x'
|
||||
- name: Patch version
|
||||
run: ${{ matrix.target.version_script }}
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore src/Alma
|
||||
- name: Build
|
||||
Reference in New Issue
Block a user