From cdb09128104ca65535c34d8be0b2f7621ac406dc Mon Sep 17 00:00:00 2001 From: wispem-wantex Date: Sun, 1 Jun 2025 12:45:31 -0400 Subject: [PATCH] Add action yml --- action.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 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 +