Skip to content

Commit

Permalink
chore: GHA - another tweak to trigger Teamcity builds
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-polk committed Nov 14, 2024
1 parent e8a1eb3 commit a9bc9d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

- name: Set output if new release published to npm
if: success() && (startsWith(github.event.head_commit.message, 'fix:') || startsWith(github.event.head_commit.message, 'feat:'))
run: echo "::set-output name=new_release_published::true"
2 changes: 1 addition & 1 deletion .github/workflows/trigger-teamcity-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
trigger-teamcity:
runs-on: ubuntu-latest
# Either a manual run or the Build-Test-Release workflow has completed successfully and a new release was published to npm
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.outputs.new_release_published == 'true') }}
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && (startsWith(github.event.workflow_run.head_commit.message, 'fix:') || startsWith(github.event.workflow_run.head_commit.message, 'feat:'))) }}
steps:
- name: Trigger TeamCity Build for alpha.bloomlibrary.org
uses: fjogeleit/http-request-action@v1
Expand Down

0 comments on commit a9bc9d4

Please sign in to comment.