From 26940e005d55de6ec0497788f1480398e3ed1220 Mon Sep 17 00:00:00 2001 From: Rucciva Date: Thu, 28 Sep 2023 08:31:55 +0700 Subject: [PATCH] release gnu --- .github/workflows/docker.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 70f88b46..edd2a97e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,7 +14,7 @@ env: jobs: release: - name: Cross build for x86_64-unknown-linux-musl + name: Cross build for x86_64-unknown-linux-gnu runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -25,33 +25,33 @@ jobs: - name: Install cross run: cargo install --version 0.1.16 cross - name: Run tests - run: cross test --release --target x86_64-unknown-linux-musl --verbose + run: cross test --release --target x86_64-unknown-linux-gnu --verbose - name: Build release - run: cross build --release --target x86_64-unknown-linux-musl + run: cross build --release --target x86_64-unknown-linux-gnu - name: Run UPX # Upx may not support some platforms. Ignore the errors continue-on-error: true uses: crazy-max/ghaction-upx@v1 with: version: v4.0.2 - files: target/x86_64-unknown-linux-musl/release/rathole + files: target/x86_64-unknown-linux-gnu/release/rathole args: -q --best --lzma - uses: actions/upload-artifact@v2 with: - name: rathole-x86_64-unknown-linux-musl - path: target/x86_64-unknown-linux-musl/release/rathole + name: rathole-x86_64-unknown-linux-gnu + path: target/x86_64-unknown-linux-gnu/release/rathole - name: Zip Release uses: TheDoctor0/zip-release@0.6.1 with: type: zip - filename: rathole-x86_64-unknown-linux-musl.zip - directory: target/x86_64-unknown-linux-musl/release/ + filename: rathole-x86_64-unknown-linux-gnu.zip + directory: target/x86_64-unknown-linux-gnu/release/ path: rathole - name: Publish uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: target/x86_64-unknown-linux-musl/release/rathole-x86_64-unknown-linux-muslss.zip + files: target/x86_64-unknown-linux-gnu/release/rathole-x86_64-unknown-linux-gnuss.zip generate_release_notes: true draft: true docker: