From 42885ccc2193f9636422d5759ecb114544d02c84 Mon Sep 17 00:00:00 2001 From: Maciej Zimnoch Date: Fri, 9 Jun 2023 16:39:52 +0200 Subject: [PATCH] Fix release notes generation In case when release notes Action was executed with scylladb/scylla-operator repository gen-release-notes binary was built in the same directory where target repository was checked out. By default checkout action cleans the directory, which removed the binary resulting in missing command. To overcome this, binary is moved to other PATH directory which won't be cleared out. --- .github/actions/release-notes/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/release-notes/action.yaml b/.github/actions/release-notes/action.yaml index f51af6cd361..6f8a6b077b5 100644 --- a/.github/actions/release-notes/action.yaml +++ b/.github/actions/release-notes/action.yaml @@ -43,7 +43,7 @@ runs: cd ${{ github.workspace }}/go/src/github.com/scylladb/scylla-operator make build GO_BUILD_PACKAGES=./cmd/gen-release-notes --warn-undefined-variables - echo "${{ github.workspace }}/go/src/github.com/scylladb/scylla-operator" >> ${GITHUB_PATH} + sudo mv ./gen-release-notes /usr/local/bin/gen-release-notes - uses: actions/checkout@v3 with: