Checksums have to be passed first before sending welcome message #240
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: 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@v4 | |
with: | |
dotnet-version: 9.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 |