mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-24 15:58:43 -06:00
re-create tag manually to avoid force push
This commit is contained in:
parent
8751ad99b7
commit
3e34c19234
20
.github/workflows/build.yml
vendored
20
.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;
|
||||||
|
@ -93,9 +97,9 @@ jobs:
|
||||||
- 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