From 57b93424220e660b2fc1a12a86512d8afd6627e8 Mon Sep 17 00:00:00 2001 From: florianvazelle Date: Fri, 27 Oct 2023 19:04:30 +0200 Subject: [PATCH] ci: fix magic_combo commands --- .github/workflows/build.yml | 4 ++-- .github/workflows/publish.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c74ef3..1e9a9c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/') diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 358f1dd..3c6f912 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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