diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 9f97ccf..4d7d25e 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -19,17 +19,17 @@ jobs: runs-on: ${{ matrix.os }} steps: + - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: ${{ matrix.gover }} - - uses: actions/checkout@v4 - name: Build the project run: go build . - name: Save built binary if: startsWith(github.ref, 'refs/tags/') && matrix.os == env.RELEASE_OS && matrix.gover == env.RELEASE_GOVER uses: actions/upload-artifact@v4 with: - name: docker-on-top + name: artifacts path: ./docker-on-top if-no-files-found: error retention-days: 1 @@ -39,6 +39,9 @@ jobs: if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest + + permissions: + contents: write steps: - uses: actions/checkout@v4 @@ -58,5 +61,5 @@ jobs: with: body_path: ./this-changelog.md files: | - ./docker-on-top + ./artifacts/docker-on-top ./docker-on-top.service