Skip to content

Commit

Permalink
Merge 'fraccaman/ci-here-we-go-again-22'
Browse files Browse the repository at this point in the history
* origin/fraccaman/ci-here-we-go-again-22:
  improve release ci
  improve release ci
  • Loading branch information
Fraccaman committed Oct 18, 2023
2 parents 7094e8b + c0fb8d2 commit b87c1b7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-[a-z]+"
workflow_dispatch:
inputs:
tag:
description: "The tag to release."
required: true

permissions:
id-token: write
Expand Down Expand Up @@ -38,6 +43,9 @@ jobs:
with:
fetch-depth: 0
- run: git fetch --tags --force origin # WA: https://github.com/actions/checkout/issues/882
- name: Switch to tag if specified
if: "${{ github.event.inputs.tag != '' }}"
run: git checkout ${{ github.event.inputs.tag }}
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
Expand All @@ -62,7 +70,13 @@ jobs:
- name: Start sccache server
run: sccache --start-server
- name: Install cargo-about
if: "!startsWith(runner.os, 'Windows')"
run: curl -k https://installer.heliax.click/EmbarkStudios/[email protected]! | bash
- name: Install cargo-about
if: startsWith(runner.os, 'Windows')
run: |
curl -k https://installer.heliax.click/EmbarkStudios/[email protected] | bash
echo "::add-path::$GITHUB_WORKSPACE"
- name: ${{ matrix.make.name }}
run: make ${{ matrix.make.command }}
- name: Upload binaries package
Expand All @@ -84,6 +98,7 @@ jobs:
release:
needs: build
runs-on: ${{ matrix.os }}
if: success() || failure()
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit b87c1b7

Please sign in to comment.