Update workflow, temp fix stripped dll download #83
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: | |
branches: [ main ] | |
paths: | |
- 'MultiplayerCore.sln' | |
- 'MultiplayerCore/**' | |
- '.github/workflows/Build.yml' | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
# - name: Fetch SIRA References | |
# uses: ProjectSIRA/[email protected] | |
# with: | |
# manifest: ./MultiplayerCore/manifest.json | |
# sira-server-code: ${{ secrets.SIRA_SERVER_CODE }} | |
- name: Initialize modding environment | |
uses: beat-forge/init-beatsaber@v1 | |
with: | |
token: ${{ github.token }} | |
repo: michael-r-elp/beatsaber-stripped | |
manifest: ./MultiplayerCore/manifest.json | |
- name: Fetch Mod References | |
uses: Goobwabber/[email protected] | |
with: | |
manifest: ./MultiplayerCore/manifest.json | |
- name: Build | |
id: Build | |
env: | |
FrameworkPathOverride: /usr/lib/mono/4.8-api | |
run: dotnet build --configuration Release | |
- name: GitStatus | |
run: git status | |
- name: Echo Filename | |
run: echo $BUILDTEXT \($ASSEMBLYNAME\) | |
env: | |
BUILDTEXT: Filename=${{ steps.Build.outputs.filename }} | |
ASSEMBLYNAME: AssemblyName=${{ steps.Build.outputs.assemblyname }} | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ steps.Build.outputs.filename }} | |
path: ${{ steps.Build.outputs.artifactpath }} |