From 804f464b5bf7ba2c286027749901a24d1bf924d7 Mon Sep 17 00:00:00 2001 From: trinsdar <30245301+Trinsdar@users.noreply.github.com> Date: Tue, 15 Oct 2024 20:11:21 -0400 Subject: [PATCH] updated workflows --- .github/workflows/nightly.yml | 10 ++++++---- .github/workflows/publish.yml | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 9685c63d..7a82bc42 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -4,10 +4,12 @@ name: StructureLib Nightly on: push: branches: - - 1.18-port + - 1.18.2 + - 1.19.2 pull_request: branches: - - 1.18-port + - 1.18.2 + - 1.19.2 jobs: build: @@ -40,7 +42,7 @@ jobs: # The USERNAME and TOKEN need to correspond to the credentials environment variables used in # the publishing section of your build.gradle - name: Upload Forge Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: StructureLib-forge-nightly-${{ steps.vars.outputs.sha_short }} path: forge/build/libs @@ -48,7 +50,7 @@ jobs: USERNAME: ${{ github.actor }} TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload Fabric Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: StructureLib-fabric-nightly-${{ steps.vars.outputs.sha_short }} path: fabric/build/libs diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6f013ffa..e8a88def 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,7 +31,7 @@ jobs: MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} GITHUB_RELEASE: true - name: Upload Forge Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: StructureLib-forge-nightly-${{ steps.vars.outputs.sha_short }} path: forge/build/libs @@ -39,7 +39,7 @@ jobs: USERNAME: ${{ github.actor }} TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload Fabric Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: StructureLib-fabric-nightly-${{ steps.vars.outputs.sha_short }} path: fabric/build/libs