Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
ci: Fix release pipeline for linux
Alexis Sellier committed 2 years ago
commit 29507b550d6dcea5082baf1f5049ef93b8cc34a8
parent 5a46ded318d127413f26306e4198579f945abc10
1 file changed +5 -2
modified .github/workflows/release.yml
@@ -37,9 +37,10 @@ jobs:
          image: ${{ matrix.docker_image }}
          options: ${{ matrix.docker_options }}
          run: |
+
            rustup target add ${{ matrix.target }}
            staging="radicle-${{ matrix.target }}"
            mkdir -p "$staging"
-
            rustup target add ${{ matrix.target }}
+

            cargo build --target=${{ matrix.target }} --package=radicle-httpd --release
            cp target/${{ matrix.target }}/release/radicle-httpd "$staging"/

@@ -61,6 +62,7 @@ jobs:
          image: ${{ matrix.docker_image }}
          options: ${{ matrix.docker_options }}
          run: |
+
            rustup target add ${{ matrix.target }}
            staging="radicle-${{ matrix.target }}"
            mkdir -p "$staging/debug"

@@ -104,9 +106,9 @@ jobs:
      - uses: dtolnay/rust-toolchain@1.67
      - name: Build the release binaries
        run: |
+
          rustup target add ${{ matrix.target }}
          staging="radicle-${{ matrix.target }}"
          mkdir -p "$staging"
-
          rustup target add ${{ matrix.target }}

          cargo build --target ${{ matrix.target }} --package=radicle-httpd --release
          cp target/${{ matrix.target }}/release/radicle-httpd "$staging"/
@@ -124,6 +126,7 @@ jobs:
          cp "$staging.tar.gz" "$staging"/
      - name: Build the debug binaries
        run: |
+
          rustup target add ${{ matrix.target }}
          staging="radicle-${{ matrix.target }}"
          mkdir -p "$staging/debug"