shellcheckout/action.yml
2025-06-01 12:45:31 -04:00

13 lines
296 B
YAML

name: "Shell Checkout"
description: "Checkout a repo using shell"
runs:
using: "composite"
steps:
- run: |
git init
git remote add origin "$GITEA_SERVER_URL/$GITEA_REPOSITORY"
git fetch origin "$GITEA_REF"
git checkout "$GITEA_REF_NAME"
shell: bash