Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
Randomblock1 committed Dec 15, 2020
1 parent ee50b26 commit 52611d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 52611d1

Please sign in to comment.