forked from cerc-io/stack-orchestrator
parent
d72dcb6c74
commit
7bcad7b936
@ -1,10 +1,10 @@
|
||||
name: Publish
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: '*'
|
||||
push:
|
||||
branches: '*'
|
||||
branches:
|
||||
- main
|
||||
- publish-test
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
@ -16,9 +16,9 @@ jobs:
|
||||
- name: "Get build info"
|
||||
id: build-info
|
||||
run: |
|
||||
./scripts/create_build_tag_file.sh
|
||||
build_tag=$(cat ./app/data/build_tag.txt)
|
||||
build_tag=$(./scripts/create_build_tag_file.sh)
|
||||
echo "build-tag=v${build_tag}" >> $GITHUB_OUTPUT
|
||||
echo "Build tag set to v${build_tag}"
|
||||
- name: "Install Python"
|
||||
uses: cerc-io/setup-python@v4
|
||||
with:
|
||||
@ -28,7 +28,7 @@ jobs:
|
||||
- name: "Install shiv"
|
||||
run: pip install shiv
|
||||
- name: "Test things"
|
||||
run: echo "Build tag is: ${{ steps.build-info.outputs.build-tag }}"
|
||||
run: echo "Build tag is ${{ steps.build-info.outputs.build-tag }}"
|
||||
- name: "Build local shiv package"
|
||||
id: build
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user