Simplify runs-on labels for Gitea Actions
This commit is contained in:
@@ -15,9 +15,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate-client:
|
validate-client:
|
||||||
runs-on:
|
runs-on: ubuntu-22.04
|
||||||
- self-hosted
|
|
||||||
- ubuntu-22.04
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -36,9 +34,7 @@ jobs:
|
|||||||
build-client-windows:
|
build-client-windows:
|
||||||
needs: validate-client
|
needs: validate-client
|
||||||
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_windows == 'true')
|
if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_windows == 'true')
|
||||||
runs-on:
|
runs-on: windows
|
||||||
- self-hosted
|
|
||||||
- windows
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user