Skip to content

Commit d8d0eb2

Browse files
authored
ci: migrate all GitHub workflows to use self-hosted runner (#150)
1 parent f1283ff commit d8d0eb2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
validate:
1515
name: Validate Code Quality
16-
runs-on: ubuntu-latest
16+
runs-on: [self-hosted, linux, x64]
1717
permissions: # Added permissions
1818
actions: read
1919
contents: read
@@ -82,7 +82,7 @@ jobs:
8282
build-archive:
8383
name: Build and Archive Artifacts
8484
needs: validate # Depends on successful validation
85-
runs-on: ubuntu-latest
85+
runs-on: [self-hosted, linux, x64]
8686
if: startsWith(github.ref, 'refs/tags/v') # Only run for tags
8787
outputs: # Define outputs for the release job
8888
version: ${{ steps.get_version.outputs.version }}
@@ -135,7 +135,7 @@ jobs:
135135
publish-npm:
136136
name: Publish to NPM
137137
needs: build-archive # Depends on build-archive completion
138-
runs-on: ubuntu-latest
138+
runs-on: [self-hosted, linux, x64]
139139
if: startsWith(github.ref, 'refs/tags/v') # Only run for tags
140140
steps:
141141
- name: Checkout repository
@@ -166,7 +166,7 @@ jobs:
166166
publish-docker:
167167
name: Publish to Docker Hub
168168
needs: build-archive # Depends on build-archive completion
169-
runs-on: ubuntu-latest
169+
runs-on: [self-hosted, linux, x64]
170170
if: startsWith(github.ref, 'refs/tags/v') # Only run for tags
171171
steps:
172172
- name: Checkout repository
@@ -208,7 +208,7 @@ jobs:
208208
release:
209209
name: Create GitHub Release
210210
needs: [publish-npm, publish-docker] # Depends on successful parallel publishes
211-
runs-on: ubuntu-latest
211+
runs-on: [self-hosted, linux, x64]
212212
if: startsWith(github.ref, 'refs/tags/v') # Only run for tags
213213
permissions:
214214
contents: write # Need permission to create releases and release notes

0 commit comments

Comments
 (0)