Skip to content

Commit

Permalink
always build on push tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed Jan 17, 2023
1 parent ef145e4 commit 1377a08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: ["*"]
pull_request:
workflow_call:
workflow_dispatch:

jobs:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ on:
workflow_dispatch:

jobs:
build:
uses: ./.github/workflows/build.yml
publish:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dawidd6/action-download-artifact@v2
with:
workflow: build.yml
commit: ${{ github.sha }}
workflow_conclusion: success
- uses: actions/download-artifact@v3
- uses: ncipollo/release-action@v1
with:
commit: ${{ github.sha }}
Expand Down

0 comments on commit 1377a08

Please sign in to comment.