Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelauer committed May 22, 2024
1 parent 20b55f5 commit 3d45d66
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
outputs:
build_workflow_run_id: ${{ steps.trigger-build.outputs.workflowId }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Trigger Build Workflow
id: trigger-build
uses: benc-uk/workflow-dispatch@v1
Expand All @@ -31,6 +33,8 @@ jobs:
needs: trigger-build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Wait for Build to Complete
id: wait-for-build
run: |
Expand All @@ -44,6 +48,8 @@ jobs:
outputs:
test_workflow_run_id: ${{ steps.trigger-test.outputs.workflowId }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Trigger Test Workflow
id: trigger-test
uses: benc-uk/workflow-dispatch@v1
Expand All @@ -55,6 +61,8 @@ jobs:
needs: trigger-test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Wait for Test to Complete
id: wait-for-test
run: |
Expand All @@ -66,6 +74,9 @@ jobs:
needs: wait-for-test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Update Version
run: pnpm update-version --type ${{ github.event.inputs.publish_type }} --commit true

Expand Down

0 comments on commit 3d45d66

Please sign in to comment.