retain package registries as CI artifacts
This commit is contained in:
@@ -5,8 +5,7 @@ on:
|
|||||||
- cron: "17 5 * * 1"
|
- cron: "17 5 * * 1"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- "**"
|
||||||
- main
|
|
||||||
tags:
|
tags:
|
||||||
- "*"
|
- "*"
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -102,6 +101,14 @@ jobs:
|
|||||||
name: greptimedb-musl-binaries-${{ matrix.alpine_registry_branch }}
|
name: greptimedb-musl-binaries-${{ matrix.alpine_registry_branch }}
|
||||||
path: packages/ci-assets/
|
path: packages/ci-assets/
|
||||||
|
|
||||||
|
- name: Upload local Alpine registry
|
||||||
|
if: github.event_name != 'schedule' && steps.package-selection.outputs.packages_selected == 'true' && steps.artifact-upload.outputs.available == 'true'
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: alpine-local-registry-${{ matrix.alpine_registry_branch }}-${{ github.sha }}
|
||||||
|
path: packages/local/
|
||||||
|
retention-days: 30
|
||||||
|
|
||||||
- name: Smoke test
|
- name: Smoke test
|
||||||
if: github.event_name != 'schedule'
|
if: github.event_name != 'schedule'
|
||||||
run: scripts/apk/ci-smoke.sh
|
run: scripts/apk/ci-smoke.sh
|
||||||
@@ -128,5 +135,5 @@ jobs:
|
|||||||
run: scripts/apk/runtime-test.sh
|
run: scripts/apk/runtime-test.sh
|
||||||
|
|
||||||
- name: Publish Alpine packages
|
- name: Publish Alpine packages
|
||||||
if: github.event_name != 'pull_request' && github.event_name != 'schedule' && env.ALPINE_SKIP_BUILD != '1'
|
if: github.event_name != 'schedule' && github.ref == 'refs/heads/main' && env.ALPINE_SKIP_BUILD != '1'
|
||||||
run: scripts/apk/publish-gitea.sh
|
run: scripts/apk/publish-gitea.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user