Skip to content

Commit

Permalink
uses runner.os instead of matrix.os
Browse files Browse the repository at this point in the history
  • Loading branch information
shahadarsh committed Jan 5, 2024
1 parent b15ec27 commit afb4006
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tembo_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
set -x
apt update -y
apt install pkg-config libssl-dev -y
if: matrix.os == 'ubuntu-20.04'
if: runner.os == 'Linux'

- name: Cargo build
working-directory: ./tembo-cli
Expand All @@ -64,7 +64,7 @@ jobs:
cargo install cargo-get
TEMBO_CLI_NAME=$(cargo-get package.name)-$(cargo-get package.version)
echo "TEMBO_CLI_NAME=$TEMBO_CLI_NAME" >> $GITHUB_ENV
if: matrix.os == 'macos-latest'
if: runner.os == 'macOS'

- name: CLI version Ubuntu
working-directory: ./tembo-cli
Expand All @@ -75,7 +75,7 @@ jobs:
TEMBO_VERSION=${PKG_VERSION#"version = "}
TEMBO_CLI_NAME=tembo-cli-${TEMBO_VERSION}
echo "TEMBO_CLI_NAME=$TEMBO_CLI_NAME" >> $GITHUB_ENV
if: matrix.os == 'ubuntu-20.04'
if: runner.os == 'Linux'

- name: Generate changelog
id: changelog
Expand Down

0 comments on commit afb4006

Please sign in to comment.