fix: do not run aur update if workflows failed

This commit is contained in:
Almamu 2024-05-11 20:20:37 +02:00
parent 6fe7d41764
commit 861a64df63

View File

@ -1,15 +1,19 @@
name: Arch Linux AUR Package Update name: Arch Linux AUR Package Update
on: on:
push: workflow_run:
branches: ["main"] workflows: [cmake]
branches: [main]
types: [completed]
jobs: jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- uses: ahmadnassri/action-workflow-run-wait@v1
- name: Publish parallel-disk-usage to the AUR - name: Publish parallel-disk-usage to the AUR
uses: KSXGitHub/github-actions-deploy-aur@v2.7.1 uses: KSXGitHub/github-actions-deploy-aur@v2.7.1