Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
fix: add spaces between $GITHUB_OUTPUT (#1188)
Browse files Browse the repository at this point in the history
fix: trigger publish/docker on master & release (#1184)
  • Loading branch information
ra0x3 authored Aug 2, 2023
1 parent f06aada commit df386ac
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,17 @@ jobs:
- name: Set env vars
id: set-env
run: >
echo "IS_MASTER=${{ env.IS_MASTER }}" >> $GITHUB_OUTPUT
echo "IS_DEVELOP=${{ env.IS_DEVELOP }}" >> $GITHUB_OUTPUT
echo "IS_RELEASE=${{ env.IS_RELEASE }}" >> $GITHUB_OUTPUT
if [[ ${{ env.IS_MASTER }} == 'true' || ${{ env.IS_DEVELOP }} == 'true' || ${{ env.IS_RELEASE }} == 'true' || ${{ env.BRANCH_NAME }} =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "IS_RELEASE_OR_MASTER_OR_DEVELOP_OR_SEMVER=true" >> $GITHUB_OUTPUT
else
echo "IS_RELEASE_OR_MASTER_OR_DEVELOP_OR_SEMVER=false" >> $GITHUB_OUTPUT
fi
echo "IS_MASTER=${{ env.IS_MASTER }}" >> $GITHUB_OUTPUT
echo "IS_DEVELOP=${{ env.IS_DEVELOP }}" >> $GITHUB_OUTPUT
echo "IS_RELEASE=${{ env.IS_RELEASE }}" >> $GITHUB_OUTPUT
docs-test:
uses: FuelLabs/github-actions/.github/workflows/mdbook-docs.yml@master
with:
Expand Down Expand Up @@ -331,8 +333,7 @@ jobs:
publish-docker-image:
needs:
- set-env-vars
if: needs.set-env-vars.outputs.IS_RELEASE == 'true' ||
needs.set-env-vars.outputs.IS_MASTER == 'true'
if: needs.set-env-vars.outputs.IS_RELEASE == 'true' || needs.set-env-vars.outputs.IS_MASTER == 'true'
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit df386ac

Please sign in to comment.