chore: fix upload url in workflow
All checks were successful
/ Build and upload binary (push) Successful in 56s
All checks were successful
/ Build and upload binary (push) Successful in 56s
This commit is contained in:
parent
174debf2da
commit
500046ab3b
1 changed files with 5 additions and 5 deletions
|
@ -2,8 +2,8 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'src/*.v'
|
||||
#paths:
|
||||
# - 'src/*.v'
|
||||
jobs:
|
||||
build:
|
||||
name: Build and upload binary
|
||||
|
@ -35,7 +35,7 @@ jobs:
|
|||
#curl -X POST -H "Authorization: token $GITHUB_TOKEN" \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"name": "'$VERSION'", "tag": "'$VERSION'"}' \
|
||||
# "https://forgejo.example.com/api/repos/actions/setup-browser/releases"
|
||||
# "https://code.bcarlin.net/api/repos/actions/setup-browser/releases"
|
||||
|
||||
#REL_ID=$(curl -H "Authorization: token $GITHUB_TOKEN" "https://forgejo.example.com/api/repos/actions/setup-browser/releases/latest" | ./jq .id)
|
||||
|
||||
|
@ -47,6 +47,6 @@ jobs:
|
|||
# -F 'external_url='
|
||||
|
||||
# Upload the binary as a generic package
|
||||
curl --header "Authorization: token $GITHUB_TOKEN" \
|
||||
curl -v --header "Authorization: token $GITHUB_TOKEN" \
|
||||
--upload-file setup-browser \
|
||||
"https://forgejo.example.com/api/packages/actions/generic/setup-browser/$VERSION/setup-browser"
|
||||
"https://code.bcarlin.net/api/packages/actions/generic/setup-browser/$VERSION/setup-browser"
|
||||
|
|
Loading…
Reference in a new issue