chore: ci updates
This commit is contained in:
parent
4d2f65e011
commit
b1ee7e5c48
|
@ -16,13 +16,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
return context.payload.ref.replace(/\/refs\/tags\//, '');
|
return context.payload.ref
|
||||||
|
.replace(/\/refs\/tags\//, '')
|
||||||
|
.replace(/refs\/tags\//, '');
|
||||||
- name: Build source artifact
|
- name: Build source artifact
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ../rocky-logos-${{ steps.tag.outputs.result }} &&
|
mkdir -p ../rocky-logos-${{ steps.tag.outputs.result }} &&
|
||||||
cp -r . ../rocky-logos-${{ steps.tag.outputs.result }} &&
|
cp -r . ../rocky-logos-${{ steps.tag.outputs.result }} &&
|
||||||
mv ../rocky-logos-${{ steps.tag.outputs.result }} . &&
|
mv ../rocky-logos-${{ steps.tag.outputs.result }} . &&
|
||||||
tar cfj rocky-logos-${{ steps.tag.outputs.result }}.tar.xz rocky-logos-${{ steps.tag.outputs.result }}
|
tar cfJ rocky-logos-${{ steps.tag.outputs.result }}.tar.xz rocky-logos-${{ steps.tag.outputs.result }}
|
||||||
- name: Publish artifact
|
- name: Publish artifact
|
||||||
uses: actions/upload-artifact@v2.2.3
|
uses: actions/upload-artifact@v2.2.3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue