diff options
author | Yasin <LifeIsAParadox@users.noreply.github.com> | 2024-02-19 19:39:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 13:39:40 -0500 |
commit | 13fe42503c7e4369b3e128859084e2339c355ee3 (patch) | |
tree | 2c933fc5da62b36c37d2fe920e6ec7a3022f82e4 /.github/workflows/beta.yml | |
parent | 12a966eec12b21166bf66ba2ec78bc00d92427a8 (diff) | |
download | Skyblocker-13fe42503c7e4369b3e128859084e2339c355ee3.tar.gz Skyblocker-13fe42503c7e4369b3e128859084e2339c355ee3.tar.bz2 Skyblocker-13fe42503c7e4369b3e128859084e2339c355ee3.zip |
use mod-publish-plugin (#556)
Diffstat (limited to '.github/workflows/beta.yml')
-rw-r--r-- | .github/workflows/beta.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 9f0b8490..7e444cb8 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -19,9 +19,9 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 with: result-encoding: string script: | @@ -31,13 +31,13 @@ jobs: fs.writeFileSync("./gradle.properties", file); - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'microsoft' java-version: '17' - name: Initialize caches - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -53,7 +53,7 @@ jobs: - name: Build with Gradle run: ./gradlew build - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 id: fname with: result-encoding: string @@ -61,7 +61,7 @@ jobs: const fs = require("fs") return fs.readdirSync("build/libs/").filter(e => !e.endsWith("dev.jar") && !e.endsWith("sources.jar") && e.endsWith(".jar"))[0].replace(".jar", ""); - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ steps.fname.outputs.result }} path: build/libs/ |