From f6e80c44fe95a60b40ff85033e44507eb51ffe6c Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Fri, 10 Dec 2021 17:10:41 -0600 Subject: [PATCH] Upgrade build workflow --- .github/workflows/build.yml | 9 ++++++++- .github/workflows/docs.yml | 7 ++++++- .github/workflows/tag_docs.yml | 7 ++++++- IPA.Loader/Loader/manifest.json | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e554650..205d7910 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,8 @@ defaults: run: shell: pwsh +permissions: read-all + jobs: build: runs-on: windows-latest @@ -33,7 +35,12 @@ jobs: uses: actions/setup-dotnet@v1 with: # As usual, obtained from: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/5.0/releases.json - dotnet-version: "3.1.409" # since we now use this + dotnet-version: "6.0.100" # since we now use this + - name: Log in to package source + shell: pwsh + run: | + dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} ` + --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Atlas-Rhythm/index.json" - name: Clear Nuget Cache run: dotnet nuget locals all --clear - name: Restore diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c908588e..0d60315f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -30,7 +30,12 @@ jobs: uses: actions/setup-dotnet@v1 with: # As usual, obtained from: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/5.0/releases.json - dotnet-version: "3.1.409" # since we now use this + dotnet-version: "6.0.100" # since we now use this + - name: Log in to package source + shell: pwsh + run: | + dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} ` + --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Atlas-Rhythm/index.json" - name: Clear Nuget Cache run: dotnet nuget locals all --clear - name: Nuget Restore diff --git a/.github/workflows/tag_docs.yml b/.github/workflows/tag_docs.yml index 62f5b9c8..743a0e4c 100644 --- a/.github/workflows/tag_docs.yml +++ b/.github/workflows/tag_docs.yml @@ -29,7 +29,12 @@ jobs: uses: actions/setup-dotnet@v1 with: # As usual, obtained from: https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/5.0/releases.json - dotnet-version: "3.1.404" # since we now use this + dotnet-version: "6.0.100" # since we now use this + - name: Log in to package source + shell: pwsh + run: | + dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} ` + --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Atlas-Rhythm/index.json" - name: Clear Nuget Cache run: dotnet nuget locals all --clear - name: Nuget Restore diff --git a/IPA.Loader/Loader/manifest.json b/IPA.Loader/Loader/manifest.json index fdc66190..696cfe2c 100644 --- a/IPA.Loader/Loader/manifest.json +++ b/IPA.Loader/Loader/manifest.json @@ -8,7 +8,7 @@ "gameVersion": "1.16.1", "id": "BSIPA", "name": "Beat Saber IPA", - "version": "4.2.1", + "version": "4.2.1-pre.1", "icon": "IPA.icon_white.png", "features": { "IPA.DefineFeature": [