fix: temporary change in postprocessor to require ostruct for test he… #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tag OwlBot Postprocessor Release | |
on: | |
push: | |
branches: [main] | |
paths: 'owlbot-postprocessor/**' | |
workflow_dispatch: | |
jobs: | |
github-release: | |
if: ${{ github.repository == 'googleapis/ruby-common-tools' }} | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
RELEASE_PLEASE_DISABLE: ${{ secrets.RELEASE_PLEASE_DISABLE }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install NodeJS 16.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "16.x" | |
- name: Install tools | |
run: "npm install release-please" | |
- name: Execute | |
shell: bash | |
run: | | |
if [ -z "$RELEASE_PLEASE_DISABLE" ]; then | |
npx release-please github-release \ | |
--repo-url=googleapis/ruby-common-tools \ | |
--path=owlbot-postprocessor \ | |
--token=$GITHUB_TOKEN | |
fi |