diff options
author | Yasin <a.piri@hotmail.de> | 2023-07-29 22:18:04 +0200 |
---|---|---|
committer | Yasin <a.piri@hotmail.de> | 2023-07-29 22:18:04 +0200 |
commit | a75a7edc2627351967ed15a3371ae232da0c530a (patch) | |
tree | 27095dbbd8bf72dd3680b0b33718a0bc774c34cd /.github/workflows | |
parent | 34003f6eadac39a8aec6286cc34e16a5a46c1710 (diff) | |
download | Skyblocker-a75a7edc2627351967ed15a3371ae232da0c530a.tar.gz Skyblocker-a75a7edc2627351967ed15a3371ae232da0c530a.tar.bz2 Skyblocker-a75a7edc2627351967ed15a3371ae232da0c530a.zip |
update actions
hope this does not brake the workflow
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/beta.yml | 8 | ||||
-rw-r--r-- | .github/workflows/buildrelease.yml | 6 |
2 files changed, 7 insertions, 7 deletions
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 |