-
Notifications
You must be signed in to change notification settings - Fork 50
46 lines (44 loc) · 1.28 KB
/
publish_test_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This workflow will generate a distribution and upload it to PyPI
name: Publish Alpha Build
on:
push:
branches:
- dev
paths-ignore:
- 'neon_core/version.py'
- 'CHANGELOG.md'
jobs:
publish_alpha_release:
uses: neongeckocom/.github/.github/workflows/publish_alpha_release.yml@master
secrets: inherit
with:
version_scheme: "dated"
version_file: "neon_core/version.py"
setup_py: "setup.py"
publish_pypi: false
publish_prerelease: true
update_changelog: false
# Changelog automation fails with this large repo
trigger_os_build:
runs-on: ubuntu-latest
steps:
- name: Call Release Action
uses: peter-evans/repository-dispatch@v3
with:
token: ${{secrets.NEON_OS_TOKEN}}
repository: neongeckocom/neon-os
event-type: Publish Release
client-payload: |-
{
"ref": "dev",
"repo": "neon-core"
}
build_and_publish_docker:
needs: publish_alpha_release
uses: neongeckocom/.github/.github/workflows/publish_docker.yml@master
secrets: inherit
with:
image_name: ${{ github.repository_owner }}/neon_skills
base_tag: base
extra_tag: default_skills
platforms: linux/amd64,linux/arm64