Skip to content

Commit

Permalink
try to perserve action outside of wd
Browse files Browse the repository at this point in the history
  • Loading branch information
stonedu1011 committed Jan 29, 2024
1 parent d7fc530 commit dddff4c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@ runs:
- name: "Preserve Actions"
shell: bash
run: |
mkdir -p .tmp
cp -rf .github/actions .tmp/actions
mkdir -p ~/.tmp
cp -rf .github/actions ~/.tmp/actions
- name: "Checkout"
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || inputs.branch || 'main' }}
clean: false
- name: "Restore Actions"
shell: bash
run: |
cp -rf .tmp/actions .github/actions
cp -rf ~/.tmp/actions .github/actions
- name: "Setup Go"
uses: actions/setup-go@v4
with:
Expand Down

0 comments on commit dddff4c

Please sign in to comment.