Merge pull request #69 from irlbunny/fix-sirasaber #157
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: .NET | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'SiraUtil/**' | |
- 'SiraUtil.sln' | |
- '.github/workflows/main.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.x | |
- name: Acquire SIRA References | |
uses: ProjectSIRA/download-sira-stripped@1.0.0 | |
with: | |
manifest: ./SiraUtil/manifest.json | |
sira-server-code: ${{ secrets.SIRA_SERVER_CODE }} | |
- name: Acquire Mod References | |
uses: Goobwabber/download-beatmods-deps@1.2 | |
with: | |
manifest: ./SiraUtil/manifest.json | |
- name: Build | |
id: Build | |
env: | |
FrameworkPathOverride: /usr/lib/mono/4.8-api | |
run: dotnet build SiraUtil/SiraUtil.csproj --configuration Release | |
- name: Git Status | |
run: git status | |
- name: Echo File Name | |
run: echo $BUILDTEXT \($ASSEMBLYNAME\) | |
env: | |
BUILDTEXT: Filename=${{ steps.Build.outputs.filename }} | |
ASSEMBLYNAME: AssemblyName=${{ steps.Build.outputs.assemblyname }} | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: SiraUtil | |
path: ${{ steps.Build.outputs.artifactpath }} |