full pipeline run test
parent
907cbc0a28
commit
4c0a19bef7
|
@ -106,16 +106,16 @@ jobs:
|
||||||
# prepare release
|
# prepare release
|
||||||
- name: Get repository name
|
- name: Get repository name
|
||||||
id: repository
|
id: repository
|
||||||
run: echo "::set-output name=pathref::$(echo '${{ github.repository }}' | cut -d'/' -f2)-${{ env.COMPONENT }}-$(echo '${{ github.ref_name }}' | sed 's/[^[:alnum:]\.]/_/g')"
|
run: echo "::set-output name=pathref::$(echo '${{ github.repository }}' | cut -d'/' -f2)-$(echo '${{ github.ref_name }}' | sed 's/[^[:alnum:]\.]/_/g')"
|
||||||
|
|
||||||
- name: create artifact archive
|
- name: create artifact archive
|
||||||
run: |
|
run: |
|
||||||
tar --exclude .git --exclude .github -zcf '${{ steps.repository.outputs.pathref }}.tar.gz' .
|
tar --exclude .git --exclude .github -zcf '../${{ steps.repository.outputs.pathref }}.tar.gz' .
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
${{ env.COMPONENT }}/${{ steps.repository.outputs.pathref }}.tar.gz
|
../${{ steps.repository.outputs.pathref }}.tar.gz
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|
Loading…
Reference in New Issue