Skip to content

GameRealisticMap Alpha 10.2 (v0.10.2) #20

GameRealisticMap Alpha 10.2 (v0.10.2)

GameRealisticMap Alpha 10.2 (v0.10.2) #20

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