diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index dc118eae..c9af1d7f 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -49,7 +49,7 @@ jobs: run: | strip ppx-linux - name: Upload PPX artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ppx-linux path: packages/rescript-relay/rescript-relay-ppx/ppx-* @@ -90,7 +90,7 @@ jobs: run: | cp _build/default/bin/RescriptRelayPpxApp.exe ppx-${{ matrix.platform }} - name: Upload PPX artifact ${{ matrix.platform }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ppx-${{ matrix.platform }} path: packages/rescript-relay/rescript-relay-ppx/ppx-* @@ -141,7 +141,7 @@ jobs: command: build # add --locked back when we have a better way to ensure it's up to date args: --manifest-path=packages/relay/compiler/Cargo.toml --release --target ${{ matrix.target.target }} ${{ matrix.target.features && '--features' }} ${{ matrix.target.features }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.target.artifact-name }} path: packages/relay/compiler/target/${{ matrix.target.target }}/release/${{ matrix.target.build-name }} @@ -244,7 +244,7 @@ jobs: relay-compiler-macos-arm64 relay-compiler-linux-musl - name: Upload built folder - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: release-build path: _release/ diff --git a/.github/workflows/ppx.yml b/.github/workflows/ppx.yml index 7807bdf4..d00f6400 100644 --- a/.github/workflows/ppx.yml +++ b/.github/workflows/ppx.yml @@ -48,7 +48,7 @@ jobs: run: | strip ppx-linux - name: Upload PPX artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ppx-${{ matrix.platform }} path: packages/rescript-relay/rescript-relay-ppx/ppx-* @@ -80,7 +80,7 @@ jobs: run: | strip _build/default/bin/RescriptRelayPpxApp.exe - name: Upload PPX artifact ${{ matrix.platform }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ppx-${{ matrix.platform }} path: packages/rescript-relay/rescript-relay-ppx/_build/default/bin/RescriptRelayPpxApp.exe