Skip to content

Commit b00c6bd

Browse files
update: GitHub Actions to latest versions
1 parent d1300ab commit b00c6bd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/nightly-build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,24 +95,25 @@
9595
echo "should not skip tags, releases: ${{ ! inputs.skip_tagging_and_releases }}" >> $GITHUB_STEP_SUMMARY
9696
9797
- name: Checkout Repository
98-
uses: actions/checkout@v4
98+
uses: actions/checkout@v6
9999
with:
100100
fetch-depth: 0 # Required for tags
101101
# persists credentials locally if tagging and releases are not skipped.
102102
persist-credentials: ${{ ! inputs.skip_tagging_and_releases }}
103103
ref: ${{ (inputs.is_PR && inputs.PR_NUMBER) && github.event.pull_request.head.sha || '' }}
104104

105105
- name: Set up Java 21
106-
uses: actions/setup-java@v4
106+
uses: actions/setup-java@v5
107107
with:
108108
distribution: 'temurin'
109109
java-version: '21'
110110
cache: ${{ (!(inputs.is_PR && inputs.PR_NUMBER) && github.ref == 'refs/heads/main' && 'gradle') || '' }}
111111

112112
- name: Set up Node.js
113-
uses: actions/setup-node@v4
113+
uses: actions/setup-node@v6
114114
with:
115115
node-version: 'lts/*' # or '18.x' for latest stable
116+
cache: ${{ (!(inputs.is_PR && inputs.PR_NUMBER) && github.ref == 'refs/heads/main' && 'npm') || '' }}
116117

117118
- name: Add keystore and build.json from secrets
118119
run: |

0 commit comments

Comments
 (0)