From dec2a1e1d7687ff2425eaa973685094361670fb0 Mon Sep 17 00:00:00 2001 From: chengqinglin Date: Tue, 13 Sep 2022 22:36:03 +0800 Subject: [PATCH] change ci --- .github/workflows/release.yml | 36 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c442476..45d9d5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,8 @@ jobs: os: ubuntu-latest - target: x86_64-apple-darwin os: macos-latest - - target: x86_64-pc-windows-gnu - os: windows-latest + # - target: x86_64-pc-windows-gnu + # os: windows-latest runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -51,22 +51,22 @@ jobs: env: # (required) GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# release-binary: -# name: release ${{ matrix.target }} -# runs-on: ubuntu-latest -# strategy: -# fail-fast: false -# matrix: -# target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, x86_64-apple-darwin] -# steps: -# - uses: actions/checkout@master -# - name: Compile and release -# uses: rust-build/rust-build.action@v1.3.2 -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# with: -# RUSTTARGET: ${{ matrix.target }} -# EXTRA_FILES: "README.md LICENSE" + release-binary: + name: release ${{ matrix.target }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl] + steps: + - uses: actions/checkout@master + - name: Compile and release + uses: rust-build/rust-build.action@v1.3.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + RUSTTARGET: ${{ matrix.target }} + EXTRA_FILES: "README.md LICENSE" publish-docker-image: runs-on: ubuntu-latest steps: