upload-release-action icon indicating copy to clipboard operation
upload-release-action copied to clipboard

Assets are not created

Open boynux opened this issue 1 year ago • 2 comments

Hi,

Thanks for creating this action. Recently I tried to use this actions but the assets won't appear in releases. Here is my simple workflow: https://github.com/boynux/squid-exporter/blob/master/.github/workflows/release.yml

For convenience:

...
release:
    runs-on: ubuntu-latest

    steps:
      - name: Download binaries for release
        uses: actions/download-artifact@master
        with:
          name: binary
          path: bin/squid-exporter

      - name: Release latest version
        uses: svenstaro/upload-release-action@v2
        with:
          repo_token: ${{ secrets.GITHUB_TOKEN }}
          asset_name: squid-exporter
          file: bin/squid-exporter
          tag: unstable
          overwrite: true
          body: "pre-release"
          prerelease: true
...

The release is created, however the squid-exporter asset is not uploaded. There is no error in the workflow to debug.

boynux avatar Apr 14 '23 09:04 boynux