diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aeec849..227ff56 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,6 @@ on: env: PROJECT_NAME: BTD6Rogue - MELONLOADER_BRANCH: alpha-development MOD_HELPER_NAME: Btd6ModHelper BLOONSTD6: ./BloonsTD6 @@ -17,6 +16,8 @@ env: jobs: build: + permissions: + contents: write runs-on: ubuntu-latest steps: @@ -98,9 +99,9 @@ jobs: - name: Setup .NET - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x # net6 can still build older as well + dotnet-version: 8.0.x # net6 can still build older as well - name: Build @@ -108,7 +109,7 @@ jobs: - name: Upload Mod DLL - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 with: name: ${{ env.PROJECT_NAME }}.dll path: ${{ env.BLOONSTD6 }}/Mods/${{ env.PROJECT_NAME }}.dll @@ -120,4 +121,4 @@ jobs: with: files: ${{ env.BLOONSTD6 }}/Mods/${{ env.PROJECT_NAME }}.dll body_path: ${{ env.PROJECT_NAME }}/LATEST.md - fail_on_unmatched_files: true \ No newline at end of file + fail_on_unmatched_files: true