ci: try to fix mirror workflow
This commit is contained in:
parent
a38e468dcd
commit
63ecb2ad65
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git remote add upstream $upstream
|
git remote add upstream $upstream
|
||||||
while read tag; do
|
while read tag; do
|
||||||
if test ${{ inputs.is_commit }} == "true"; then
|
if test "${{ inputs.is_commit }}" == "true"; then
|
||||||
git fetch upstream $tag --no-tags
|
git fetch upstream $tag --no-tags
|
||||||
else
|
else
|
||||||
git fetch upstream tag $tag --no-tags
|
git fetch upstream tag $tag --no-tags
|
||||||
|
@ -57,7 +57,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
while read tag; do
|
while read tag; do
|
||||||
git checkout $tag
|
git checkout $tag
|
||||||
if test ${{ inputs.is_commit }} != "true"; then
|
if test "${{ inputs.is_commit }}" != "true"; then
|
||||||
git tag -d $tag
|
git tag -d $tag
|
||||||
fi
|
fi
|
||||||
git checkout ci -- ./.forgejo
|
git checkout ci -- ./.forgejo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue