1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-09-10 18:59:42 +02:00

CI/CD: Update GitHub Actions versions, fixes outdated warnings, force Java from Eclipse

(cherry picked from commit 9b308928467cf9c1b65f8397a8873c2c7e845433)

Conflicts:
	.github/workflows/build-android-project.yml
This commit is contained in:
Gregor Santner 2024-05-19 10:12:58 +02:00 committed by James Addison
parent d623eeff26
commit 1a1385301b

View file

@ -21,18 +21,15 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: "Checkout: Code"
uses: actions/checkout@v2
- name: "Checkout: Code (PR)" - name: "Checkout: Code (PR)"
uses: actions/checkout@v2 uses: actions/checkout@v4
if: "contains(github.event_name, 'pull_request')" if: "contains(github.event_name, 'pull_request')"
with: with:
ref: ${{github.event.pull_request.head.ref}} ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}} repository: ${{github.event.pull_request.head.repo.full_name}}
- name: "Setup: Java" - name: "Setup: Java"
uses: actions/setup-java@v1 uses: actions/setup-java@v4
with: with:
java-version: 1.8 java-version: 1.8
@ -40,7 +37,7 @@ jobs:
run: sudo apt-get install -y ispell run: sudo apt-get install -y ispell
- name: "Cache: Gradle" - name: "Cache: Gradle"
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
~/.gradle ~/.gradle