Build with GitHub workflows instead of Nix #3
This file contains hidden or 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, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 Clone | |
uses: actions/checkout@v4 | |
- name: ⚒️ Build | |
run: dotnet publish -c Release --self-contained true -r linux-x64 | |
- name: 📤 Upload Build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Binaries | |
path: ./bin/Release/net6.0/linux-x64/publish | |
retention-days: 1 |