From a75a7edc2627351967ed15a3371ae232da0c530a Mon Sep 17 00:00:00 2001 From: Yasin Date: Sat, 29 Jul 2023 22:18:04 +0200 Subject: update actions hope this does not brake the workflow --- .github/workflows/beta.yml | 8 ++++---- .github/workflows/buildrelease.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index d7447766..fadce733 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: | @@ -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 diff --git a/.github/workflows/buildrelease.yml b/.github/workflows/buildrelease.yml index e941eeb3..7f0a38b4 100644 --- a/.github/workflows/buildrelease.yml +++ b/.github/workflows/buildrelease.yml @@ -17,7 +17,7 @@ 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 - name: Set up JDK 17 uses: actions/setup-java@v2 with: @@ -30,7 +30,7 @@ jobs: - name: Build with Gradle run: ./gradlew build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: Artifacts path: build/libs/ @@ -94,7 +94,7 @@ jobs: echo "::set-output name=changelog_discord::$CHANGELOG" - - uses: actions/github-script@v2 + - uses: actions/github-script@v6 id: fname with: result-encoding: string -- cgit