-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to upload assets #6
Comments
I am getting the same error
Tried debugging workflow with Update: |
Yes, it must be release or pre-release. Drafts and tags don't support uploading of files. |
Hello! I'm running into this same problem. In my action, the second step is creating a release. I've confirmed that the tag and release are both created, so I'd think that the upload can happen. My workflow looks like this name: Build and Publish
on: [push]
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: rymndhng/release-on-push-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
bump_version_scheme: patch
- uses: actions/setup-go@v3
with:
go-version: '1.17.6'
- run: make build_all
- uses: actions/upload-artifact@v3
with:
name: package-darwin-arm46
path: build/package-darwin-arm46
- name: Upload release binaries
uses: alexellis/upload-assets@0.2.2
env:
ACTIONS_STEP_DEBUG: true
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["./build/package*"]' I've tried with both
Any thoughts? (the repo is a private one, but the tokens should have access) |
You're missing this in your workflow:
|
I am trying to upload a binary with in git action using https://github.com/alexellis/upload-assets . Here is the snippet of where I call it.
Unfortunately , I get the error:
I would appreciate any pointers on resolving this , as I can't understand why it can't find the binary
The text was updated successfully, but these errors were encountered: