mirror of
https://github.com/runelite/plugin-hub.git
synced 2026-08-07 05:15:25 -04:00
package: update actions
This commit is contained in:
1 file changed
+9
-9
@@ -13,7 +13,7 @@ on:
|
||||
push:
|
||||
pull_request:
|
||||
env:
|
||||
CACHE_VERSION: 2.1.1
|
||||
CACHE_VERSION: 2.2.0
|
||||
jobs:
|
||||
build:
|
||||
# any forks that predate this repo having an action will have actions
|
||||
@@ -22,14 +22,14 @@ jobs:
|
||||
if: github.event_name != 'push' || github.repository_owner == 'runelite'
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-java@v2
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: adopt
|
||||
java-version: 11
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches/
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
export PACKAGE_COMMIT_RANGE="${COMMIT_RANGE:-${COMMIT_BEFORE:+$COMMIT_BEFORE...$COMMIT_AFTER}}"
|
||||
fi
|
||||
exec java -XX:+UseParallelGC -cp package/package/build/libs/package.jar net.runelite.pluginhub.packager.Packager
|
||||
- uses: actions/upload-artifact@v2
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: manifest_diff
|
||||
path: /tmp/manifest_diff
|
||||
@@ -79,20 +79,20 @@ jobs:
|
||||
concurrency: upload
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- uses: actions/setup-java@v2
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: adopt
|
||||
java-version: 11
|
||||
- uses: actions/cache@v2
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches/
|
||||
~/.gradle/wrapper/
|
||||
key: upload-${{ env.CACHE_VERSION }}
|
||||
- uses: actions/download-artifact@v2
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: manifest_diff
|
||||
path: /tmp
|
||||
|
||||
Reference in new issue
Block a user