Skip to content

Commit

Permalink
update actions to use latest versions (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinayagarwal authored Sep 24, 2024
1 parent f5a6f4c commit cc24f2a
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
os: [ macos-latest, windows-latest, ubuntu-latest ]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Java
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: jdk.java.net
release: ${{ env.JAVA_VERSION }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bundles-kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Java
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: jdk.java.net
release: ${{ inputs.java-version }}

- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -40,7 +40,7 @@ jobs:
PROJECT_VERSION: ${{ inputs.project-version }}

- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifacts
path: kit/target/lib/*.jar
8 changes: 4 additions & 4 deletions .github/workflows/bundles-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
- name: Install packages
run: sudo apt-get install xdg-utils

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Java
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: jdk.java.net
release: ${{ inputs.java-version }}
Expand All @@ -46,7 +46,7 @@ jobs:
unzip /tmp/openjfx-${{ inputs.javafx-version }}_linux-x64_bin-jmods.zip -d /tmp
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
INSTALL_DIR: app/target/install

- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifacts
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bundles-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Java
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: jdk.java.net
release: ${{ inputs.java-version }}
Expand All @@ -60,7 +60,7 @@ jobs:
unzip /tmp/openjfx-${{ inputs.javafx-version }}_osx-x64_bin-jmods.zip -d /tmp
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
team-id: ${{ secrets.MACSIGN_PREFIX }}

- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifacts
path: ${{ steps.outputfile.outputs.path }}
8 changes: 4 additions & 4 deletions .github/workflows/bundles-mac_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
name: macOS on M1
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Java
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: jdk.java.net
release: ${{ inputs.java-version }}
Expand All @@ -61,7 +61,7 @@ jobs:
unzip /tmp/openjfx-${{ inputs.javafx-version }}_osx-aarch64_bin-jmods.zip -d /tmp
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
team-id: ${{ secrets.MACSIGN_PREFIX }}

- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifacts
path: ${{ steps.outputfile.outputs.path }}
8 changes: 4 additions & 4 deletions .github/workflows/bundles-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Java
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: jdk.java.net
release: ${{ inputs.java-version }}
Expand All @@ -51,7 +51,7 @@ jobs:
Expand-Archive -Force D:\openjfx-${{ inputs.javafx-version }}_windows-x64_bin-jmods.zip D:\
- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
folder: 'app/target/install'

- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifacts
path: app/target/install/*.msi
16 changes: 8 additions & 8 deletions .github/workflows/early-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
PROJECT_VERSION: ${{ steps.vars.outputs.PROJECT_VERSION }}
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Java
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: jdk.java.net
release: ${{ env.JAVA_VERSION }}

- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -115,21 +115,21 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Download all build artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4

- name: Set up Java
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: jdk.java.net
release: ${{ needs.precheck.outputs.JAVA_VERSION }}

- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -143,7 +143,7 @@ jobs:
- name: JReleaser output
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jreleaser-logs
path: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ jobs:
S3_PATH: ${{ steps.vars.outputs.S3_PATH }}
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Java
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: jdk.java.net
release: ${{ env.JAVA_VERSION }}

- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -128,25 +128,25 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Java
uses: oracle-actions/setup-java@v1
uses: oracle-actions/setup-java@v1.4.0
with:
website: jdk.java.net
release: ${{ needs.precheck.outputs.JAVA_VERSION }}

- name: Cache Maven packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Download all build artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4

- name: Set Release Version
run: |
Expand All @@ -170,7 +170,7 @@ jobs:
- name: JReleaser output
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jreleaser-logs
path: |
Expand Down

0 comments on commit cc24f2a

Please sign in to comment.