update package build process #12
@@ -5,8 +5,7 @@ on:
|
||||
- cron: "17 5 * * 1"
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- "**"
|
||||
tags:
|
||||
- "*"
|
||||
pull_request:
|
||||
@@ -102,6 +101,14 @@ jobs:
|
||||
name: greptimedb-musl-binaries-${{ matrix.alpine_registry_branch }}
|
||||
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
|
||||
if: github.event_name != 'schedule'
|
||||
run: scripts/apk/ci-smoke.sh
|
||||
@@ -128,5 +135,5 @@ jobs:
|
||||
run: scripts/apk/runtime-test.sh
|
||||
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user