Skip to content

Commit

Permalink
Update GitHub actions (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamoid authored Jun 15, 2024
1 parent 4faae66 commit ab062d1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout current repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ./orx

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation[email protected]
uses: gradle/actions/wrapper-validation@v3

- name: Checkout OPENRNDR repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: openrndr/openrndr
Expand All @@ -37,7 +37,7 @@ jobs:
sudo apt-get install -y mesa-utils xvfb
xvfb-run glxinfo
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand All @@ -51,4 +51,4 @@ jobs:
run: ./gradlew build

- name: Collect screenshots without errors
run: xvfb-run ./gradlew collectScreenshots
run: xvfb-run ./gradlew collectScreenshots
10 changes: 5 additions & 5 deletions .github/workflows/generate-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout current repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ./orx

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation[email protected]
uses: gradle/actions/wrapper-validation@v3

- name: Checkout OPENRNDR repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: openrndr/openrndr
Expand All @@ -33,7 +33,7 @@ jobs:
sudo apt-get install -y mesa-utils xvfb
xvfb-run glxinfo
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
Expand Down Expand Up @@ -67,4 +67,4 @@ jobs:
git add [a-z-]*/images/*.png
cd ..
git commit -m "add auto-generated media"
git push -f origin media
git push -f origin media
6 changes: 3 additions & 3 deletions .github/workflows/release-candidate-to-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
release_candidate_to_maven_central:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
Expand All @@ -22,4 +22,4 @@ jobs:
run: ./gradlew publishToSonatype -Prelease.useLastTag=true -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=openrndr -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg)
env:
OSSRH_USERNAME: ${{secrets.OSSRH_USERNAME}}
OSSRH_PASSWORD: ${{secrets.OSSRH_PASSWORD}}
OSSRH_PASSWORD: ${{secrets.OSSRH_PASSWORD}}
6 changes: 3 additions & 3 deletions .github/workflows/release-to-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
release_to_maven_central:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
Expand All @@ -24,4 +24,4 @@ jobs:
run: ./gradlew publishToSonatype -Prelease.useLastTag=true -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=openrndr -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg)
env:
OSSRH_USERNAME: ${{secrets.OSSRH_USERNAME}}
OSSRH_PASSWORD: ${{secrets.OSSRH_PASSWORD}}
OSSRH_PASSWORD: ${{secrets.OSSRH_PASSWORD}}

0 comments on commit ab062d1

Please sign in to comment.