Skip to content

Commit

Permalink
Update action.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
taraspos authored Dec 18, 2024
1 parent e38e78f commit 27a8b42
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/amplify-preview/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ inputs:
runs:
using: composite
steps:
- name: Debug
- name: Workaround go cache issue
shell: bash
run: |
echo ${{ github.workspace }}
echo ${{ github.action_path }}
ls -al ${{ github.action_path }}
# It seems like `setup-go` can't use for cache files outside of ${{ github.workspace }}
mkdir -p ${{ github.workspace }}/.tmp/actions/cache/amplify-preview
cp ${{ github.action_path }}/go.sum ${{ github.workspace }}/.tmp/actions/cache/amplify-preview/
- name: Extract branch name
shell: bash
Expand All @@ -32,7 +32,7 @@ runs:
- uses: actions/setup-go@v5
with:
go-version-file: ${{ github.action_path }}/go.mod
cache-dependency-path: ${{ github.action_path }}/go.sum
cache-dependency-path: ${{ github.workspace }}/.tmp/actions/cache/amplify-preview/go.sum

- name: Amplify Preview
env:
Expand Down

0 comments on commit 27a8b42

Please sign in to comment.