diff options
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 d7447766..4ab11edf 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -15,9 +15,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@v2 + - uses: actions/checkout@v3 - - uses: actions/github-script@v2 + - uses: actions/github-script@v6 with: result-encoding: string script: | @@ -27,9 +27,9 @@ jobs: fs.writeFileSync("./gradle.properties", file); - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: - distribution: 'adopt' + distribution: 'microsoft' java-version: '17' - name: Grant execute permission for gradlew @@ -38,7 +38,7 @@ jobs: - name: Build with Gradle run: ./gradlew build - - uses: actions/github-script@v2 + - uses: actions/github-script@v6 id: fname with: result-encoding: string @@ -46,7 +46,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@v2 + - uses: actions/upload-artifact@v3 with: name: ${{ steps.fname.outputs.result }} path: build/libs/
\ No newline at end of file |