From fb92b690111b0f015260666ba69a3a714afd5bc7 Mon Sep 17 00:00:00 2001 From: Jamy Golden Date: Wed, 12 Jun 2024 13:09:38 +0200 Subject: [PATCH] Remove redundant release workflow properties --- .github/workflows/cli-release.yml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index 88234d2..1b3c92b 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -2,9 +2,10 @@ name: Release on: push: tags: - - "cli-v*.*.*" + - "cli-v[0-9]+\\.[0-9]+\\.[0-9]+" permissions: contents: write + jobs: setup-environment: runs-on: ubuntu-latest @@ -104,33 +105,23 @@ jobs: name: ${{ matrix.target }} runs-on: ${{ matrix.os }} strategy: - fail-fast: false matrix: include: - - prefix: x86_64-linux - target: x86_64-unknown-linux-gnu + - target: x86_64-unknown-linux-gnu os: ubuntu-latest - cross: false - - prefix: i686-linux - target: i686-unknown-linux-gnu + - target: i686-unknown-linux-gnu os: ubuntu-latest - cross: true - - prefix: aarch64-linux - target: aarch64-unknown-linux-gnu + - target: aarch64-unknown-linux-gnu os: ubuntu-latest - cross: true - os: macos-11 target: x86_64-apple-darwin - cross: true - os: macos-11 target: aarch64-apple-darwin - cross: true steps: - uses: actions/checkout@v4 - uses: taiki-e/upload-rust-binary-action@v1 with: bin: ribboncurls + checksum: sha256 target: ${{ matrix.target }} - tar: unix - zip: windows token: ${{ secrets.GITHUB_TOKEN }}