Use git checkout

This commit is contained in:
Stefan Zweifel 2019-08-27 20:30:31 +02:00
parent fdf062fc1c
commit a93a9a308d

View File

@ -2,7 +2,7 @@
set -eu set -eu
# Switch to branch from current Workflow run # Switch to branch from current Workflow run
git switch "${GITHUB_REF:11}" git checkout "${GITHUB_REF:11}"
# Set origin URL # Set origin URL
git remote set-url origin https://$TOKEN:x-oauth-basic@github.com/$GITHUB_REPOSITORY git remote set-url origin https://$TOKEN:x-oauth-basic@github.com/$GITHUB_REPOSITORY