Skip to content

Commit 5c31327

Browse files
authored
fix: use workspace to get out dir (#7)
1 parent 13aa0c2 commit 5c31327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

push-to-ipfs/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
shell: bash
1515
run: |
1616
pip install 'aioipfs>=0.6.2'
17-
CID=$(python3 ${{ github.action_path }}/scripts/push_on_ipfs.py "${{ inputs.upload-dir }}")
17+
CID=$(python3 ${{ github.action_path }}/scripts/push_on_ipfs.py "${{ github.workspace }}/${{ inputs.upload-dir }}")
1818
echo "CID: $CID" >> $GITHUB_STEP_SUMMARY
1919
echo "cid=$CID" >> $GITHUB_OUTPUT
2020
outputs:

0 commit comments

Comments
 (0)