mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 05:38:20 -06:00
re-create tag manually to avoid force push
This commit is contained in:
parent
bbbd57516d
commit
7b438de4f1
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
|
@ -56,11 +56,15 @@ jobs:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ./artifacts
|
path: ./artifacts
|
||||||
- uses: rickstaa/action-create-tag@v1
|
- name: Delete existing tag
|
||||||
with:
|
continue-on-error: true
|
||||||
tag: nightly
|
run: |
|
||||||
tag_exists_error: false
|
git tag -d nightly;
|
||||||
force_push_tag: true
|
git push --delete origin refs/tags/nightly;
|
||||||
|
- name: Create nightly tag
|
||||||
|
run: |
|
||||||
|
git tag nightly;
|
||||||
|
git push origin nightly;
|
||||||
- name: Create zip files
|
- name: Create zip files
|
||||||
run: |
|
run: |
|
||||||
cd ./artifacts;
|
cd ./artifacts;
|
||||||
|
@ -92,10 +96,10 @@ jobs:
|
||||||
path: ./artifacts
|
path: ./artifacts
|
||||||
- name: Create zip files
|
- name: Create zip files
|
||||||
run: |
|
run: |
|
||||||
cd ./artifacts;
|
cd ./artifacts;
|
||||||
for folder in */;
|
for folder in */; do
|
||||||
do zip -r "${folder%/}.zip" "$folder";
|
zip -r "${folder%/}.zip" "$folder"*;
|
||||||
rm -rf "$folder"
|
rm -rf "$folder";
|
||||||
done;
|
done;
|
||||||
cd ..;
|
cd ..;
|
||||||
- uses: rlespinasse/github-slug-action@v4.4.1
|
- uses: rlespinasse/github-slug-action@v4.4.1
|
||||||
|
|
Loading…
Reference in a new issue