Skip to content

Commit c257563

Browse files
committed
try again with restored dir
1 parent 663a7d1 commit c257563

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,19 @@ jobs:
4646
chmod +x packagr-bumpr-linux-amd64
4747
./packagr-bumpr-linux-amd64 --help
4848
echo "listing linked libraries" && ldd packagr-bumpr-linux-amd64
49+
50+
# restore modified dir to GH workspace.
51+
rm -rf $GITHUB_WORKSPACE/.*
52+
cp -a $PROJECT_PATH/. $GITHUB_WORKSPACE/
53+
4954
- name: Commit Changes
5055
id: commit
5156
uses: packagrio/action-releasr-go@master
5257
env:
5358
# This is necessary in order to push a commit to the repo
5459
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
55-
with:
56-
cwd: ${{ env.PROJECT_PATH }}
60+
# with:
61+
# cwd: ${{ env.PROJECT_PATH }}
5762
- name: Publish Release
5863
id: publish
5964
uses: packagrio/action-publishr-go@master

0 commit comments

Comments
 (0)