mirror of
https://github.com/AleksanderGPL/StatusMC.git
synced 2024-12-29 01:09:03 +00:00
Create build.yaml
This commit is contained in:
parent
a7dd4359e6
commit
1624a8fdbb
19
.github/workflows/build.yaml
vendored
Normal file
19
.github/workflows/build.yaml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container: mcr.microsoft.com/dotnet/sdk:8.0
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
run: dotnet publish -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true
|
||||
|
||||
- name: Publish Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: StatusMC
|
||||
path: StatusMC/bin/Release/net8.0/win-x64/publish/StatusMC.exe
|
Loading…
Reference in New Issue
Block a user