mirror of
https://github.com/rocky-linux/rocky-logos.git
synced 2024-11-21 20:31:31 +00:00
chore: ci updates
This commit is contained in:
parent
4d2f65e011
commit
b1ee7e5c48
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user