From b4f055b6d9d7276c219fd81bb1abb3ab9f4b4a5a Mon Sep 17 00:00:00 2001 From: Parisa Tejari Date: Tue, 1 Oct 2024 14:42:38 +0200 Subject: [PATCH] using matrix --- .github/workflows/package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 5685910a..a11f61e2 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -109,6 +109,7 @@ jobs: fi - name: Set Repository Name id: repo_name + if: ${{ matrix.component != 'lega-commander' && matrix.component != 'clearinghouse' && matrix.component != 'crypt4gh' && matrix.component != 'tsd-file-api-client' && matrix.component != 'e2eTests' }} run: | REPO_NAME=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]') echo "repo_name=$REPO_NAME" >> $GITHUB_ENV @@ -126,7 +127,7 @@ jobs: - name: Create and push new tag if: ${{ matrix.component == 'lega-commander' }} run: | - git tag v${{ steps.bump_lega_commander_version.outputs.new_lega_commander_version }} ${{ github.sha }} + git tag v${{ steps.bump_version.outputs.new_version }} ${{ github.sha }} - name: Run GoReleaser if: ${{ matrix.component == 'lega-commander' }} uses: goreleaser/goreleaser-action@v6