diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7993e9f..47a682b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: WPI_TARGET_PORT: cortexa9_vfpv3 WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install opensysroot run: | cd res/opensysroot @@ -29,7 +29,7 @@ jobs: - name: Build sysroot run: | make backend - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: roborio-academic-cortexa9_vfpv3-sysroot path: output/* @@ -43,7 +43,7 @@ jobs: WPI_TARGET_PORT: armhf WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install opensysroot run: | cd res/opensysroot @@ -51,7 +51,7 @@ jobs: - name: Build sysroot run: | make backend - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: bullseye-armhf-sysroot path: output/* @@ -65,7 +65,7 @@ jobs: WPI_TARGET_PORT: arm64 WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install opensysroot run: | cd res/opensysroot @@ -73,7 +73,7 @@ jobs: - name: Build sysroot run: | make backend - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: bullseye-arm64-sysroot path: output/* @@ -87,7 +87,7 @@ jobs: WPI_TARGET_PORT: armhf WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install opensysroot run: | cd res/opensysroot @@ -95,7 +95,7 @@ jobs: - name: Build sysroot run: | make backend - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: raspi-bullseye-armhf-sysroot path: output/* @@ -143,11 +143,11 @@ jobs: WPI_TARGET_PORT: cortexa9_vfpv3 WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Prep MacOS if: contains(matrix.host.runner, 'macos') run: brew install rsync xz gmp mpfr libmpc isl texinfo - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: roborio-academic-cortexa9_vfpv3-sysroot path: output/ @@ -174,7 +174,7 @@ jobs: env: APPLE_DEVELOPER_ID: ${{ secrets.APPLE_DEVELOPER_ID }} run: make sign - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: roborio-academic-cortexa9_vfpv3-${{matrix.host.os-cfg }} path: output/* @@ -221,11 +221,11 @@ jobs: WPI_TARGET_PORT: armhf WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Prep MacOS if: contains(matrix.host.runner, 'macos') run: brew install rsync xz gmp mpfr libmpc isl texinfo - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: bullseye-armhf-sysroot path: output/ @@ -252,7 +252,7 @@ jobs: env: APPLE_DEVELOPER_ID: ${{ secrets.APPLE_DEVELOPER_ID }} run: make sign - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: bullseye-armhf-${{matrix.host.os-cfg }} path: output/* @@ -292,11 +292,11 @@ jobs: WPI_TARGET_PORT: arm64 WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Prep MacOS if: contains(matrix.host.runner, 'macos') run: brew install rsync xz gmp mpfr libmpc isl texinfo - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: bullseye-arm64-sysroot path: output/ @@ -323,7 +323,7 @@ jobs: env: APPLE_DEVELOPER_ID: ${{ secrets.APPLE_DEVELOPER_ID }} run: make sign - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: bullseye-arm64-${{matrix.host.os-cfg }} path: output/* @@ -363,11 +363,11 @@ jobs: WPI_TARGET_PORT: armhf WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Prep MacOS if: contains(matrix.host.runner, 'macos') run: brew install rsync xz gmp mpfr libmpc isl texinfo - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: raspi-bullseye-armhf-sysroot path: output/ @@ -394,7 +394,7 @@ jobs: env: APPLE_DEVELOPER_ID: ${{ secrets.APPLE_DEVELOPER_ID }} run: make sign - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: raspi-bullseye-armhf-${{matrix.host.os-cfg }} path: output/* @@ -411,8 +411,8 @@ jobs: WPI_TARGET_PORT: armhf WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: name: raspi-bullseye-armhf-sysroot path: output/ @@ -421,7 +421,7 @@ jobs: run: | make frontend rm output/*.tar - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: raspi-bullseye-armhf-linux_x86_64 path: output/* @@ -437,13 +437,13 @@ jobs: WPI_TARGET_PORT: cortexa9_vfpv3 WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: name: roborio-academic-cortexa9_vfpv3-sysroot path: output/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: raspi-bullseye-armhf-linux_x86_64 path: cross/ @@ -460,7 +460,7 @@ jobs: run: | make frontend rm output/*.tar - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: roborio-academic-cortexa9_vfpv3-raspi-bullseye_armhf path: output/* @@ -476,8 +476,8 @@ jobs: WPI_TARGET_PORT: arm64 WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: name: bullseye-arm64-sysroot path: output/ @@ -486,7 +486,7 @@ jobs: run: | make frontend rm output/*.tar - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: bullseye-arm64-linux_x86_64 path: output/* @@ -502,13 +502,13 @@ jobs: WPI_TARGET_PORT: cortexa9_vfpv3 WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: name: roborio-academic-cortexa9_vfpv3-sysroot path: output/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: bullseye-arm64-linux_x86_64 path: cross/ @@ -525,7 +525,7 @@ jobs: run: | make frontend rm output/*.tar - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: roborio-academic-cortexa9_vfpv3-bullseye_arm64 path: output/* @@ -536,11 +536,11 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') steps: - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Remove sysroots run: find -name "*.tar" -delete - name: Release - uses: ncipollo/release-action@v1.11.1 + uses: ncipollo/release-action@v1.14.0 with: allowUpdates: true artifacts: "**/*" diff --git a/.github/workflows/ci.yml.jinja b/.github/workflows/ci.yml.jinja index 0de32bc..6ef9de9 100644 --- a/.github/workflows/ci.yml.jinja +++ b/.github/workflows/ci.yml.jinja @@ -21,7 +21,7 @@ jobs: WPI_TARGET_PORT: {{ target.port }} WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install opensysroot run: | cd res/opensysroot @@ -29,7 +29,7 @@ jobs: - name: Build sysroot run: | make backend - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: {{ target.os }}-{{ target.port }}-sysroot path: output/* @@ -77,11 +77,11 @@ jobs: WPI_TARGET_PORT: {{ target.port }} WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Prep MacOS if: contains(matrix.host.runner, 'macos') run: brew install rsync xz gmp mpfr libmpc isl texinfo - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: {{ target.os }}-{{ target.port }}-sysroot path: output/ @@ -108,7 +108,7 @@ jobs: env: APPLE_DEVELOPER_ID: ${{ '{{' }} secrets.APPLE_DEVELOPER_ID }} run: make sign - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: {{ target.os }}-{{ target.port }}-${{ '{{' }}matrix.host.os-cfg }} path: output/* @@ -125,13 +125,13 @@ jobs: WPI_TARGET_PORT: {{ task.target.port }} WPI_USE_THREADS: 8 steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: name: {{ task.target.os }}-{{ task.target.port }}-sysroot path: output/ {% if task.host.os != "linux" or task.host.port != "x86_64" %} - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: {{ task.host.os }}-{{ task.host.port }}-linux_x86_64 path: cross/ @@ -148,7 +148,7 @@ jobs: run: | make frontend rm output/*.tar - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: {{ task.target.os }}-{{ task.target.port }}-{{ task.host.os }}_{{ task.host.port }} path: output/* @@ -159,11 +159,11 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') steps: - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Remove sysroots run: find -name "*.tar" -delete - name: Release - uses: ncipollo/release-action@v1.11.1 + uses: ncipollo/release-action@v1.14.0 with: allowUpdates: true artifacts: "**/*"