Skip to content

Commit

Permalink
[ci] release main test
Browse files Browse the repository at this point in the history
  • Loading branch information
longyulongyu committed Aug 28, 2024
1 parent 3e87284 commit 369d020
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Get commit message
id: get_commit_message
Expand All @@ -25,9 +25,10 @@ jobs:
else
echo "Error: Commit message must contain '[ci] release main'"
exit 1
fi
id: check_commit_message

trigger-release-build:
needs: check-commit-message
if: needs.check-commit-message.outputs.trigger_release == 'true'
uses: ./release-build-test.yml
uses: ./.github/workflows/release-build-test.yml
1 change: 1 addition & 0 deletions .github/workflows/release-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Release Build Test

on:
workflow_dispatch:
workflow_call:

jobs:
build:
Expand Down

0 comments on commit 369d020

Please sign in to comment.