Add action yml
This commit is contained in:
commit
6d789934b6
12
action.yml
Normal file
12
action.yml
Normal file
@ -0,0 +1,12 @@
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user