@@ -11,20 +11,20 @@ jobs:
1111 build :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515 with :
1616 submodules : true
1717 - name : Set up JDK 17
18- uses : actions/setup-java@v2
18+ uses : actions/setup-java@v4
1919 with :
2020 distribution : ' temurin'
2121 cache : ' gradle'
2222 java-version : 17
2323 - name : Set up Node.js
24- uses : actions/setup-node@v3
24+ uses : actions/setup-node@v4
2525 with :
2626 node-version : 18
27- - uses : pnpm/action-setup@v2.0.1
27+ - uses : pnpm/action-setup@v3
2828 name : Install pnpm
2929 id : pnpm-install
3030 with :
3333 - name : Get pnpm store directory
3434 id : pnpm-cache
3535 run : |
36- echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
37- - uses : actions/cache@v3
36+ pnpm_cache_dir=`pnpm store path`
37+ echo "pnpm_cache_dir=$pnpm_cache_dir" >> $GITHUB_OUTPUT
38+ - uses : actions/cache@v4
3839 name : Setup pnpm cache
3940 with :
4041 path : ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
5253 sed -i "s/version=.*-SNAPSHOT$/version=$version/1" gradle.properties
5354 ./gradlew clean build -x test
5455 - name : Archive plugin-starter jar
55- uses : actions/upload-artifact@v2
56+ uses : actions/upload-artifact@v4
5657 with :
5758 name : plugin-starter
5859 path : |
6566 if : github.event_name == 'release'
6667 steps :
6768 - name : Download plugin-starter jar
68- uses : actions/download-artifact@v2
69+ uses : actions/download-artifact@v4
6970 with :
7071 name : plugin-starter
7172 path : build/libs
8081 echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
8182 echo "RELEASE_ID=${{ github.event.release.id }}" >> $GITHUB_ENV
8283 - name : Upload a Release Asset
83- uses : actions/github-script@v2
84+ uses : actions/github-script@v7
8485 if : github.event_name == 'release'
8586 with :
8687 github-token : ${{secrets.GITHUB_TOKEN}}
0 commit comments