mirror of
https://github.com/unraid/api.git
synced 2026-01-06 16:49:49 -06:00
fix: add gating to actions
This commit is contained in:
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -43,6 +43,8 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: [lint]
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v1
|
||||
@@ -91,6 +93,8 @@ jobs:
|
||||
build-binary:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: [build]
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v1
|
||||
@@ -151,7 +155,7 @@ jobs:
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: [build, build-binary]
|
||||
needs: [build-binary]
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
|
||||
Reference in New Issue
Block a user