Repository: cargo-prebuilt/cargo-prebuilt (language: rust)

Issue:
Remove x86_64-sun-solaris target before Feb 8th, 2024, since Rust 1.76.0 will
Estimated release is Feb 8th, 2024.

https://releases.rs/docs/1.76.0/


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d367eae..467fac6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -67,7 +67,7 @@ jobs:
           just --version
           target/${{ matrix.target }}/debug/${{ env.bin-name }} --color just
       - name: Artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: target-${{ matrix.target }}
           path: |
@@ -84,13 +84,8 @@ jobs:
             can-test: false
           - target: x86_64-unknown-illumos
             can-test: false
-          - target: x86_64-sun-solaris
-            can-test: false
           - target: powerpc64-unknown-linux-gnu
             can-test: true
-          - target: x86_64-pc-windows-gnu
-            can-test: true
-            ending: .exe
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v4
@@ -111,11 +106,11 @@ jobs:
       - name: Build
         run: cross build --verbose --workspace --locked --target ${{ matrix.target }} ${{ env.feature-set }}
       - name: Artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: target-${{ matrix.target }}
           path: |
-            target/${{ matrix.target }}/debug/${{ env.bin-name }}${{ matrix.ending }}
+            target/${{ matrix.target }}/debug/${{ env.bin-name }}
 
   apple-darwin:
     strategy:
@@ -152,7 +147,7 @@ jobs:
           just --version
           target/${{ matrix.target }}/debug/${{ env.bin-name }} --color just
       - name: Artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: target-${{ matrix.target }}
           path: |
@@ -192,7 +187,7 @@ jobs:
           target/${{ matrix.target }}/debug/${{ env.bin-name }}.exe just
           just --version
       - name: Artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: target-${{ matrix.target }}
           path: |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5904ebb..1979283 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -49,7 +49,7 @@ jobs:
     needs: [ release, check-fmt, clippy, ink-cross, cross, apple-darwin, pc-windows-msvc ]
     steps:
       - uses: actions/checkout@v4
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
       - name: Merge hashes
         shell: bash
         run: |
@@ -378,7 +378,7 @@ jobs:
       - name: Hash
         run: echo "$(coreutils sha256sum ${{ matrix.target }}.tar.gz)" > ${{ matrix.target }}.sha256
       - name: Artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: target-${{ matrix.target }}
           path: |
@@ -396,13 +396,8 @@ jobs:
             can-test: false
           - target: x86_64-unknown-illumos
             can-test: false
-          - target: x86_64-sun-solaris
-            can-test: false
           - target: powerpc64-unknown-linux-gnu
             can-test: true
-          - target: x86_64-pc-windows-gnu
-            can-test: true
-            ending: .exe
     runs-on: ubuntu-latest
     needs: [ check-fmt, clippy, cargo-hack, cargo-msrv, cargo-deny ]
     steps:
@@ -423,11 +418,11 @@ jobs:
       - name: Build
         run: cross build --verbose --workspace --release --locked --target ${{ matrix.target }} ${{ env.feature-set }}
       - name: Tar
-        run: tar czvf ${{ matrix.target }}.tar.gz -C ./target/${{ matrix.target }}/release ${{ env.bin-name }}${{ matrix.ending }}
+        run: tar czvf ${{ matrix.target }}.tar.gz -C ./target/${{ matrix.target }}/release ${{ env.bin-name }}
       - name: Hash
         run: echo "$(coreutils sha256sum ${{ matrix.target }}.tar.gz)" > ${{ matrix.target }}.sha256
       - name: Artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: target-${{ matrix.target }}
           path: |
@@ -472,7 +467,7 @@ jobs:
       - name: Hash
         run: echo "$(coreutils sha256sum ${{ matrix.target }}.tar.gz)" > ${{ matrix.target }}.sha256
       - name: Artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: target-${{ matrix.target }}
           path: |
@@ -520,7 +515,7 @@ jobs:
       - name: Hash
         run: echo "$(coreutils sha256sum ${{ matrix.target }}.zip)" > ${{ matrix.target }}.sha256
       - name: Artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: target-${{ matrix.target }}
           path: |


Test patch: