From cc24f2a157fba99df61d64072d5335d381ef49fd Mon Sep 17 00:00:00 2001 From: Abhinay Agarwal Date: Tue, 24 Sep 2024 15:09:50 +0530 Subject: [PATCH] update actions to use latest versions (#716) --- .github/workflows/build.yml | 4 ++-- .github/workflows/bundles-kit.yml | 8 ++++---- .github/workflows/bundles-linux.yml | 8 ++++---- .github/workflows/bundles-mac.yml | 8 ++++---- .github/workflows/bundles-mac_aarch64.yml | 8 ++++---- .github/workflows/bundles-windows.yml | 8 ++++---- .github/workflows/early-access.yml | 16 ++++++++-------- .github/workflows/release.yml | 16 ++++++++-------- 8 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9b314064..455b5ff9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} diff --git a/.github/workflows/bundles-kit.yml b/.github/workflows/bundles-kit.yml index a0ba1638e..5ebf42902 100644 --- a/.github/workflows/bundles-kit.yml +++ b/.github/workflows/bundles-kit.yml @@ -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') }} @@ -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 diff --git a/.github/workflows/bundles-linux.yml b/.github/workflows/bundles-linux.yml index 837b4aa32..a75ba423f 100644 --- a/.github/workflows/bundles-linux.yml +++ b/.github/workflows/bundles-linux.yml @@ -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 }} @@ -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') }} @@ -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: | diff --git a/.github/workflows/bundles-mac.yml b/.github/workflows/bundles-mac.yml index feade7064..9b1926780 100644 --- a/.github/workflows/bundles-mac.yml +++ b/.github/workflows/bundles-mac.yml @@ -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 }} @@ -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') }} @@ -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 }} diff --git a/.github/workflows/bundles-mac_aarch64.yml b/.github/workflows/bundles-mac_aarch64.yml index cf319b69b..cf62adac0 100644 --- a/.github/workflows/bundles-mac_aarch64.yml +++ b/.github/workflows/bundles-mac_aarch64.yml @@ -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 }} @@ -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') }} @@ -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 }} diff --git a/.github/workflows/bundles-windows.yml b/.github/workflows/bundles-windows.yml index 75b537119..a2100e624 100644 --- a/.github/workflows/bundles-windows.yml +++ b/.github/workflows/bundles-windows.yml @@ -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 }} @@ -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') }} @@ -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 diff --git a/.github/workflows/early-access.yml b/.github/workflows/early-access.yml index 27f2e90e6..52966dac1 100644 --- a/.github/workflows/early-access.yml +++ b/.github/workflows/early-access.yml @@ -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') }} @@ -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') }} @@ -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: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fad68a505..ab62b791e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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') }} @@ -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: | @@ -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: |