Skip to content

Commit 1fc1c88

Browse files
authored
Merge pull request #4 from motherduckdb/has-backend
Fix CI
2 parents b92e041 + 9c96611 commit 1fc1c88

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions: read-all
1212

1313
jobs:
1414
build-linux-amd64:
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-22.04
1616
steps:
1717
- uses: actions/checkout@v4
1818
with:
@@ -35,7 +35,7 @@ jobs:
3535
path: dist/
3636

3737
build-linux-arm64:
38-
runs-on: ubuntu-latest
38+
runs-on: ubuntu-22.04
3939
steps:
4040
- uses: actions/checkout@v4
4141
with:
@@ -133,8 +133,8 @@ jobs:
133133
path: dist/
134134

135135
generate-manifest:
136-
needs: [build-linux-amd64, build-macos-arm64, build-windows]
137-
runs-on: ubuntu-latest
136+
needs: [build-linux-amd64, build-linux-arm64, build-macos-arm64, build-windows]
137+
runs-on: ubuntu-22.04
138138
steps:
139139
- uses: actions/checkout@v4
140140
with:
@@ -165,7 +165,7 @@ jobs:
165165

166166
build:
167167
name: Build, lint and unit tests
168-
runs-on: ubuntu-latest
168+
runs-on: ubuntu-22.04
169169
needs: generate-manifest
170170
outputs:
171171
plugin-id: ${{ steps.metadata.outputs.plugin-id }}
@@ -241,7 +241,6 @@ jobs:
241241
echo "archive=${GRAFANA_PLUGIN_ARTIFACT}" >> $GITHUB_OUTPUT
242242
243243
- name: Add execute permissions on binary
244-
if: needs.build.outputs.has-backend == 'true'
245244
run: |
246245
chmod +x ./dist/gpx_*
247246
@@ -260,7 +259,7 @@ jobs:
260259

261260
resolve-versions:
262261
name: Resolve e2e images
263-
runs-on: ubuntu-latest
262+
runs-on: ubuntu-22.04
264263
timeout-minutes: 3
265264
needs: build
266265
if: ${{ needs.build.outputs.has-e2e == 'true' }}
@@ -281,7 +280,7 @@ jobs:
281280
matrix:
282281
GRAFANA_IMAGE: ${{fromJson(needs.resolve-versions.outputs.matrix)}}
283282
name: e2e test ${{ matrix.GRAFANA_IMAGE.name }}@${{ matrix.GRAFANA_IMAGE.VERSION }}
284-
runs-on: ubuntu-latest
283+
runs-on: ubuntu-22.04
285284
steps:
286285
- uses: actions/checkout@v4
287286

0 commit comments

Comments
 (0)