chore: ci updates

This commit is contained in:
Hayden Young 2021-05-08 23:44:01 +01:00
parent 4d2f65e011
commit b1ee7e5c48
No known key found for this signature in database
GPG Key ID: 58DD9745852CDC2C

View File

@ -16,13 +16,15 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
return context.payload.ref.replace(/\/refs\/tags\//, '');
return context.payload.ref
.replace(/\/refs\/tags\//, '')
.replace(/refs\/tags\//, '');
- name: Build source artifact
run: |
mkdir -p ../rocky-logos-${{ steps.tag.outputs.result }} &&
cp -r . ../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
uses: actions/upload-artifact@v2.2.3
with: