mirror of
https://github.com/masonr/yet-another-bench-script.git
synced 2026-01-01 00:46:17 +00:00
Change runner from ubuntu-latest to self-hosted
This commit is contained in:
10
.github/workflows/build-fio.yml
vendored
10
.github/workflows/build-fio.yml
vendored
@@ -5,7 +5,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-release:
|
check-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
outputs:
|
outputs:
|
||||||
latest-version: ${{ steps.get-version.outputs.version }}
|
latest-version: ${{ steps.get-version.outputs.version }}
|
||||||
should-build: ${{ steps.check-version.outputs.should-build }}
|
should-build: ${{ steps.check-version.outputs.should-build }}
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
needs: check-release
|
needs: check-release
|
||||||
if: needs.check-release.outputs.should-build == 'true'
|
if: needs.check-release.outputs.should-build == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@@ -144,7 +144,7 @@ jobs:
|
|||||||
virustotal-scan:
|
virustotal-scan:
|
||||||
needs: [check-release, build]
|
needs: [check-release, build]
|
||||||
if: needs.check-release.outputs.should-build == 'true'
|
if: needs.check-release.outputs.should-build == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
outputs:
|
outputs:
|
||||||
scan-results: ${{ steps.scan-summary.outputs.results }}
|
scan-results: ${{ steps.scan-summary.outputs.results }}
|
||||||
all-clean: ${{ steps.scan-summary.outputs.all-clean }}
|
all-clean: ${{ steps.scan-summary.outputs.all-clean }}
|
||||||
@@ -274,7 +274,7 @@ jobs:
|
|||||||
create-release:
|
create-release:
|
||||||
needs: [check-release, build, virustotal-scan]
|
needs: [check-release, build, virustotal-scan]
|
||||||
if: needs.check-release.outputs.should-build == 'true' && needs.virustotal-scan.outputs.all-clean == 'true'
|
if: needs.check-release.outputs.should-build == 'true' && needs.virustotal-scan.outputs.all-clean == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -342,7 +342,7 @@ jobs:
|
|||||||
notify-failure:
|
notify-failure:
|
||||||
needs: [check-release, build, virustotal-scan]
|
needs: [check-release, build, virustotal-scan]
|
||||||
if: always() && needs.check-release.outputs.should-build == 'true' && (failure() || needs.virustotal-scan.outputs.all-clean == 'false')
|
if: always() && needs.check-release.outputs.should-build == 'true' && (failure() || needs.virustotal-scan.outputs.all-clean == 'false')
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Send failure notification
|
- name: Send failure notification
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user