File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 66 test :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v2
10- - uses : actions/setup-java@v2
9+ - uses : actions/checkout@v3
10+ - uses : actions/setup-java@v3
1111 with :
1212 java-version : ' 8'
1313 distribution : ' adopt'
14+ cache : ' gradle'
1415 - name : Test
1516 run : ./gradlew test
Original file line number Diff line number Diff line change 1313 repository : ' sourcegraph/pr-auditor'
1414 - uses : actions/setup-go@v4
1515 with : { go-version: '1.20' }
16-
1716 - run : ' ./check-pr.sh'
1817 env :
1918 GITHUB_EVENT_PATH : ${{ env.GITHUB_EVENT_PATH }}
Original file line number Diff line number Diff line change 77 publish :
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v2
10+ - uses : actions/checkout@v3
1111 - name : Get tag
1212 id : tag
13- run : echo "::set-output name= version:: ${GITHUB_REF/refs\/tags\/v/}"
14- - uses : actions/setup-java@v2
13+ run : echo "version= ${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT
14+ - uses : actions/setup-java@v3
1515 with :
1616 java-version : ' 8'
1717 distribution : ' adopt'
18+ cache : ' gradle'
1819 - name : Publish ${{ github.ref }}
1920 run : ./gradlew -Pversion=${{ steps.tag.outputs.version }} publish
2021 env :
You can’t perform that action at this time.
0 commit comments