From 190c419b5286fadb824053597d4aa916bf5d1bdc Mon Sep 17 00:00:00 2001 From: Chris Yeninas <844685+PhantomGamers@users.noreply.github.com> Date: Fri, 15 Dec 2023 00:51:59 -0500 Subject: [PATCH] update workflows --- .github/workflows/build-winx64.yml | 8 ++++---- .github/workflows/publish-release.yml | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-winx64.yml b/.github/workflows/build-winx64.yml index 7123a5b50..57b8c2f98 100644 --- a/.github/workflows/build-winx64.yml +++ b/.github/workflows/build-winx64.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 # can't shallowly clone due to git versioning @@ -33,9 +33,9 @@ jobs: # Add dotnet to the PATH: https://github.com/actions/setup-dotnet - name: Setup dotnet.exe - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: - dotnet-version: "6.0.x" + dotnet-version: "8.0.x" # Build it - name: Build the application @@ -43,7 +43,7 @@ jobs: # Upload it to the run results - name: Upload a Build Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 with: # Artifact name name: build-artifacts-${{ matrix.configuration }} diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 72cc10944..832c63593 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 # can't shallowly clone due to git versioning @@ -23,7 +23,7 @@ jobs: git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: "14" @@ -33,7 +33,7 @@ jobs: echo "::set-output name=dir::$(npm config get cache)" - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.npm-cache.outputs.dir }} key: npm-${{ hashFiles('package-lock.json') }} @@ -51,9 +51,9 @@ jobs: # Add dotnet to the PATH: https://github.com/actions/setup-dotnet - name: Setup dotnet.exe - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v4 with: - dotnet-version: "6.0.x" + dotnet-version: "8.0.x" # Build it - name: Build the application @@ -66,13 +66,13 @@ jobs: run: node .github\scripts\thunderstore_bundle.js # Upload the thunderstore artifact (in case automatic upload fails) - - uses: actions/upload-artifact@v2.2.4 + - uses: actions/upload-artifact@v4 with: name: nebula-thunderstore path: ${{ env.DIST_RELEASE_FOLDER }}nebula-NebulaMultiplayerMod # Upload the API thunderstore artifact (in case automatic upload fails) - - uses: actions/upload-artifact@v2.2.4 + - uses: actions/upload-artifact@v4 with: name: nebula-api-thunderstore path: ${{ env.DIST_RELEASE_FOLDER }}nebula-NebulaMultiplayerModApi