From 52611d1f81abc5ac15b55a633a3e825d0d8058d6 Mon Sep 17 00:00:00 2001 From: Randomblock1 Date: Tue, 15 Dec 2020 16:58:21 -0600 Subject: [PATCH] fix action --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 6653c1f..36f71d2 100644 --- a/action.yml +++ b/action.yml @@ -31,4 +31,8 @@ runs: - name: get sdks shell: bash run: | - git clone ${{ inputs.theos-sdks }} ${{ github.workspace }}/${{ inputs.theos-dir }}/sdks --depth=1 + cd ${{ github.workspace }}/${{ inputs.theos-dir }}/sdks + git init + git remote add origin ${{ inputs.theos-sdks }} + git fetch origin --depth=1 + git reset --hard origin/master || git reset --hard origin/main