second try of final build
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 11m50s
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 11m50s
This commit is contained in:
@ -17,8 +17,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '>=1.20.1'
|
go-version: '>=1.20.1'
|
||||||
|
|
||||||
#- name: build iso
|
- name: build iso
|
||||||
# run: make iso
|
run: make iso
|
||||||
|
|
||||||
- name: get commit tag
|
- name: get commit tag
|
||||||
id: vars
|
id: vars
|
||||||
@ -49,9 +49,9 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
file_send_res=$(curl \
|
file_send_res=$(curl \
|
||||||
"https://git.tmoron.fr/api/v1/repos/$owner/$repo/releases/$release_id/assets?name=flake.nix"\
|
"https://git.tmoron.fr/api/v1/repos/$owner/$repo/releases/$release_id/assets?name=nixos.iso"\
|
||||||
-H "Authorization: token $AUTH_TOKEN"\
|
-H "Authorization: token $AUTH_TOKEN"\
|
||||||
-H "accept: application/json"\
|
-H "accept: application/json"\
|
||||||
-H "Content-Type: multipart/form-data"\
|
-H "Content-Type: multipart/form-data"\
|
||||||
-F "attachment=@flake.nix" 2>/dev/null)
|
-F "attachment=@nixos.iso" 2>/dev/null)
|
||||||
echo $file_send_res
|
echo $file_send_res
|
||||||
|
Reference in New Issue
Block a user