Use commit instead of version for github actions.

This commit is contained in:
Benoit Marty 2026-03-05 15:07:03 +01:00 committed by Benoit Marty
parent 52c8e6f317
commit 9a59c06f6a
21 changed files with 105 additions and 105 deletions

View file

@ -11,8 +11,8 @@ jobs:
# Skip in forks
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
name: Use JDK 21
if: (github.event_name == 'pull_request' && github.event.pull_request.fork == null) || github.event_name == 'workflow_dispatch'
with: