Skip to content

Commit 97cf0eb

Browse files
authored
Merge pull request #9221 from PsiACE/github-hosted
ci: github hosted runner for hive release
2 parents d58df60 + 126c964 commit 97cf0eb

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/databend-release.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ jobs:
217217

218218
publish_hive:
219219
name: hive assets
220-
runs-on: [self-hosted, X64, Linux, development]
220+
runs-on: ubuntu-latest
221221
needs: [create_release]
222222
strategy:
223223
fail-fast: false
@@ -448,16 +448,6 @@ jobs:
448448
export version="${{ needs.create_release.outputs.version }}"
449449
export path="distro"
450450
nfpm pkg --packager ${{ matrix.packager }} -f <(envsubst '${name} ${version} ${path}' < .github/actions/publish_binary/nfpm.yaml)
451-
- name: generate sha256sums
452-
run: |
453-
version="${{ needs.create_release.outputs.version }}"
454-
sha256sum databend_*.${{ matrix.packager }} >> sha256-${version}-${{ matrix.packager }}.txt
455-
- name: post sha256
456-
uses: actions/upload-artifact@v3
457-
with:
458-
name: sha256sums
459-
path: sha256-${{ needs.create_release.outputs.version }}-${{ matrix.packager }}.txt
460-
retention-days: 1
461451
- name: Update release to github
462452
shell: bash
463453
# Reference: https://cli.github.com/manual/gh_release_upload

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
profile: release
6666

6767
build_hive:
68-
runs-on: [self-hosted, X64, Linux, development]
68+
runs-on: ubuntu-latest
6969
steps:
7070
- uses: actions/checkout@v3
7171
- uses: ./.github/actions/build_linux_hive

0 commit comments

Comments
 (0)