Skip to content

Move plugin configuration into separate files #219

Move plugin configuration into separate files

Move plugin configuration into separate files #219

Workflow file for this run

name: Build
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- name: Publish (Linux x64)
run: dotnet publish --runtime linux-x64 -c Release
- name: Publish (Linux arm64)
run: dotnet publish --runtime linux-arm64 -c Release
- name: Publish (Windows x64)
run: dotnet publish --runtime win-x64 -c Release
- name: Package (Linux x64)
run: cd out-linux-x64 && tar -czf assetto-server-linux-x64.tar.gz * && cd ..
- name: Package (Linux arm64)
run: cd out-linux-arm64 && tar -czf assetto-server-linux-arm64.tar.gz * && cd ..
- name: Package (Windows x64)
run: cd out-win-x64 && zip -r assetto-server-win-x64.zip * && cd ..
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: true
files: |
out-linux-x64/assetto-server-linux-x64.tar.gz
out-linux-arm64/assetto-server-linux-arm64.tar.gz
out-win-x64/assetto-server-win-x64.zip