Skip to content

Commit

Permalink
refactor workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JPratama7 committed Jun 26, 2024
1 parent 00e01e9 commit 9d3b30d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,13 @@ jobs:
replacesArtifacts: true
tag: "temp"
artifacts: "*/*.zst"
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

TRIGGER_PUBLISH:
needs: [EXPERIMENTAL, GCC, INTERNAL, CLANG, CLMUL]
runs-on: ubuntu-latest
steps:
- name: Invoke workflow without inputs
uses: benc-uk/workflow-dispatch@v1.2.2
with:
workflow: Create DB
11 changes: 10 additions & 1 deletion .github/workflows/fifthday.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,13 @@ jobs:
replacesArtifacts: true
tag: "temp"
artifacts: "*/*.zst"
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

TRIGGER_PUBLISH:
needs: [AUR_CLANG, AUR_GCC]
runs-on: ubuntu-latest
steps:
- name: Invoke workflow without inputs
uses: benc-uk/workflow-dispatch@v1.2.2
with:
workflow: Create DB
4 changes: 0 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Create DB
on:
workflow_dispatch:
workflow_run:
workflows: ["Builder"]
types:
- completed

jobs:

Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/publish_manual.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: Create DB Manual
on:
workflow_dispatch:
workflow_run:
workflows: ["Builder"]
types:
- completed


jobs:

create_aur_repository:
Expand Down

0 comments on commit 9d3b30d

Please sign in to comment.