From 571484df54c4641f052317816308b4b7a618085a Mon Sep 17 00:00:00 2001 From: EnderdracheLP Date: Sat, 7 Sep 2024 21:37:54 +0200 Subject: [PATCH] Update workflow, temp fix stripped dll download --- .github/workflows/Build.yml | 10 +++++----- .github/workflows/PR_Build.yml | 20 +++++++++++++------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 0168e4d..d2a0d08 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -12,24 +12,24 @@ jobs: Build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: 5.0.x + dotnet-version: 8.0.x # - name: Fetch SIRA References # uses: ProjectSIRA/download-sira-stripped@1.0.0 # with: # manifest: ./MultiplayerCore/manifest.json # sira-server-code: ${{ secrets.SIRA_SERVER_CODE }} - name: Initialize modding environment - uses: beat-forge/init-beatsaber@v1.6.3 + 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/download-beatmods-deps@1.1 + uses: Goobwabber/download-beatmods-deps@1.2 with: manifest: ./MultiplayerCore/manifest.json - name: Build @@ -45,7 +45,7 @@ jobs: BUILDTEXT: Filename=${{ steps.Build.outputs.filename }} ASSEMBLYNAME: AssemblyName=${{ steps.Build.outputs.assemblyname }} - name: Upload Artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: ${{ steps.Build.outputs.filename }} path: ${{ steps.Build.outputs.artifactpath }} diff --git a/.github/workflows/PR_Build.yml b/.github/workflows/PR_Build.yml index ac1d560..276224c 100644 --- a/.github/workflows/PR_Build.yml +++ b/.github/workflows/PR_Build.yml @@ -12,18 +12,24 @@ jobs: Build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: 5.0.x - - name: Fetch SIRA References - uses: ProjectSIRA/download-sira-stripped@1.0.0 + dotnet-version: 8.0.x + # - name: Fetch SIRA References + # uses: ProjectSIRA/download-sira-stripped@1.0.0 + # 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 - sira-server-code: ${{ secrets.SIRA_SERVER_CODE }} - name: Fetch Mod References - uses: Goobwabber/download-beatmods-deps@1.1 + uses: Goobwabber/download-beatmods-deps@1.2 with: manifest: ./MultiplayerCore/manifest.json - name: Build @@ -39,7 +45,7 @@ jobs: BUILDTEXT: Filename=${{ steps.Build.outputs.filename }} ASSEMBLYNAME: AssemblyName=${{ steps.Build.outputs.assemblyname }} - name: Upload Artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: ${{ steps.Build.outputs.filename }} path: ${{ steps.Build.outputs.artifactpath }}