diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e40fb6c..dd5116d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,9 @@ on: release: types: [published] +permissions: + contents: write + jobs: build-and-attach: runs-on: ubuntu-latest @@ -27,7 +30,7 @@ jobs: GOOS: ${{ matrix.goos }} GOARCH: ${{ matrix.goarch }} run: | - BINARY_NAME=myapp-${{ matrix.goos }}-${{ matrix.goarch }} + BINARY_NAME=komari-agent-${{ matrix.goos }}-${{ matrix.goarch }} if [ "${{ matrix.goos }}" = "windows" ]; then BINARY_NAME=${BINARY_NAME}.exe fi @@ -37,7 +40,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - BINARY_NAME=myapp-${{ matrix.goos }}-${{ matrix.goarch }} + BINARY_NAME=komari-agent-${{ matrix.goos }}-${{ matrix.goarch }} if [ "${{ matrix.goos }}" = "windows" ]; then BINARY_NAME=${BINARY_NAME}.exe fi