Skip to content

Commit

Permalink
ci: fix magic_combo commands
Browse files Browse the repository at this point in the history
  • Loading branch information
florianvazelle committed Oct 27, 2023
1 parent 953e8f8 commit 57b9342
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:

- uses: MechanicalFlower/magic_combo@main
with:
command: script.add-config-to-github-env
command: 'mcx -f .combo.yaml script.add-config-to-github-env'

- uses: MechanicalFlower/magic_combo@main
with:
command: script.bump-version
command: 'mcx -f .combo.yaml script.bump-version'

- name: Ensure version is equal to tag
if: startsWith(github.ref, 'refs/tags/')
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-22.04

name: Create Release
outputs:
tag_name: ${{ steps.tag.outputs.tag_name }}
steps:
- name: Check Tag
id: tag
Expand All @@ -27,7 +28,7 @@ jobs:
create_release:
needs: set_tag_name
if: ${{ needs.set_tag_name.outputs.tag != 'null' }}
if: ${{ needs.set_tag_name.outputs.tag_name != 'null' }}
runs-on: ubuntu-22.04

name: Create Release
Expand Down

0 comments on commit 57b9342

Please sign in to comment.