commit 6d789934b66f406b9056710fd577bb83f5d8de2c Author: Alessio Date: Sat May 31 17:59:06 2025 -0400 Add action yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..ff6df4b --- /dev/null +++ b/action.yml @@ -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 +