GameRealisticMap Alpha 10.3 (v0.10.3) #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release for .NET Linux | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: Use Nerdbank.GitVersioning to set version variables | |
uses: dotnet/nbgv@master | |
id: nbgv | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Build Linux Command Line | |
run: dotnet publish --no-self-contained -f net8.0 -r linux-x64 -c Release GameRealisticMap.Arma3.CommandLine/GameRealisticMap.Arma3.CommandLine.csproj -o Output -p:FileVersion=${{ steps.nbgv.outputs.SimpleVersion }} | |
- name: Generate tar.gz | |
run: tar -czvf grma3.tar.gz -C Output grma3 | |
- uses: Shopify/upload-to-release@master | |
with: | |
name: grma3-${{ steps.nbgv.outputs.SimpleVersion }}.tar.gz | |
path: grma3.tar.gz | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
content-type: application/gzip | |