зеркало из https://github.com/microsoft/CCF.git
Fix YAML syntax in NPM and PyPi jobs (#4469)
This commit is contained in:
Родитель
0ef9ea54f8
Коммит
54e2d79473
|
@ -4,8 +4,6 @@ on:
|
|||
release:
|
||||
types: [published]
|
||||
|
||||
env:
|
||||
|
||||
jobs:
|
||||
build_and_publish:
|
||||
name: "Build and publish containers for all platforms"
|
||||
|
@ -16,12 +14,12 @@ jobs:
|
|||
|
||||
- name: Get release number from git tag (release) or latest (branch)
|
||||
run: |
|
||||
echo "${GITHUB_REF#refs/tags/ccf-}" >> $GITHUB_OUTPUT
|
||||
echo "version=${GITHUB_REF#refs/tags/ccf-}" >> $GITHUB_OUTPUT
|
||||
id: tref
|
||||
|
||||
- name: Fetch NPM Package from release
|
||||
run: |
|
||||
wget https://github.com/microsoft/CCF/releases/download/ccf-${{steps.tref.outputs.tag}}/microsoft-ccf-app-${{steps.tref.outputs.tag}}.tgz
|
||||
wget https://github.com/microsoft/CCF/releases/download/ccf-${{steps.tref.outputs.version}}/microsoft-ccf-app-${{steps.tref.outputs.version}}.tgz
|
||||
|
||||
- name: Publish NPM Package to https://www.npmjs.com/package/@microsoft/ccf-app
|
||||
run: |
|
||||
|
|
|
@ -14,12 +14,12 @@ jobs:
|
|||
|
||||
- name: Get release number from git tag (release) or latest (branch)
|
||||
run: |
|
||||
echo "${GITHUB_REF#refs/tags/ccf-}" >> $GITHUB_OUTPUT
|
||||
echo "version=${GITHUB_REF#refs/tags/ccf-}" >> $GITHUB_OUTPUT
|
||||
id: tref
|
||||
|
||||
- name: Fetch PyPi Package from release
|
||||
run: |
|
||||
wget https://github.com/microsoft/CCF/releases/download/ccf-${{steps.tref.outputs.tag}}/ccf-${{steps.tref.outputs.tag}}-py3-none-any.whl
|
||||
wget https://github.com/microsoft/CCF/releases/download/ccf-${{steps.tref.outputs.version}}/ccf-${{steps.tref.outputs.version}}-py3-none-any.whl
|
||||
|
||||
- name: Publish PyPi Package to https://pypi.org/project/ccf/
|
||||
run: |
|
||||
|
|
Загрузка…
Ссылка в новой задаче