From c2575631a0cea30103305170b765be032b01d218 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Fri, 18 Jun 2021 15:33:07 -0700 Subject: [PATCH] try again with restored dir --- .github/workflows/release.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f450448..ab2ddb9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,14 +46,19 @@ jobs: chmod +x packagr-bumpr-linux-amd64 ./packagr-bumpr-linux-amd64 --help echo "listing linked libraries" && ldd packagr-bumpr-linux-amd64 + + # restore modified dir to GH workspace. + rm -rf $GITHUB_WORKSPACE/.* + cp -a $PROJECT_PATH/. $GITHUB_WORKSPACE/ + - name: Commit Changes id: commit uses: packagrio/action-releasr-go@master env: # This is necessary in order to push a commit to the repo GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged - with: - cwd: ${{ env.PROJECT_PATH }} +# with: +# cwd: ${{ env.PROJECT_PATH }} - name: Publish Release id: publish uses: packagrio/action-publishr-go@master