Skip to content

build(deps-dev): bump esbuild from 0.21.2 to 0.23.0 #17

build(deps-dev): bump esbuild from 0.21.2 to 0.23.0

build(deps-dev): bump esbuild from 0.21.2 to 0.23.0 #17

Workflow file for this run

name: Action Test
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set target branch
run: echo "TARGET_BRANCH=${{ github.ref }}" >> $GITHUB_ENV
- name: Set target branch for PR event
if: ${{ github.event_name == 'pull_request' }}
run: echo "TARGET_BRANCH=${{ github.event.pull_request.head.ref }}" >> $GITHUB_ENV
- name: Dispatch and return Run ID
id: return_dispatch
uses: ./
with:
token: ${{ secrets.TOKEN }}
ref: ${{ env.TARGET_BRANCH }}
repo: return-dispatch
owner: seequent
workflow: dispatch.yml
workflow_inputs: '{"cake":"delicious"}'
workflow_timeout_seconds: 30
- name: Evaluate that the Run ID output has been set
run: |
if [ "${{ steps.return_dispatch.outputs.run_id }}" == "" ]; then
echo "Failed to return Run ID"
exit 1
fi
- name: Evaluate that the Run URL output has been set
run: |
if [ "${{ steps.return_dispatch.outputs.run_url }}" == "" ]; then
echo "Failed to return Run ID"
exit 1
fi
- name: Output fetched Run ID
run: echo ${{ steps.return_dispatch.outputs.run_id }}