Update 'sqmod.yml'

This commit is contained in:
thijn 2023-03-15 23:35:26 +01:00
parent a261489e73
commit cdece273b5

View File

@ -2,9 +2,11 @@ kind: pipeline
name: create-release name: create-release
workspace: workspace:
path: /repo path: /repo
#platform: platform:
#os: linux os: linux
#arch: amd64 arch: amd64
node:
name: fatcow
steps: steps:
- name: create - name: create
@ -24,9 +26,6 @@ steps:
echo "Created release $RELEASE_ID" echo "Created release $RELEASE_ID"
node:
name: fatcow
--- ---
kind: pipeline kind: pipeline
name: build-linux name: build-linux
@ -37,6 +36,8 @@ platform:
arch: amd64 arch: amd64
depends_on: depends_on:
- create-release - create-release
node:
name: fatcow
steps: steps:
- name: get-release - name: get-release
@ -82,10 +83,6 @@ steps:
- > - >
curl -X 'POST' 'https://git.thijn.ovh/api/v1/repos/Thijn/SqMod/releases/'"$RELEASE_ID"'/assets?token='"$GIT_TOKEN"'' -H 'accept: application/json' -H 'Content-Type: multipart/form-data' -F 'attachment=@/repo/bin/plugins/mod_squirrel_64-ubuntu.so' curl -X 'POST' 'https://git.thijn.ovh/api/v1/repos/Thijn/SqMod/releases/'"$RELEASE_ID"'/assets?token='"$GIT_TOKEN"'' -H 'accept: application/json' -H 'Content-Type: multipart/form-data' -F 'attachment=@/repo/bin/plugins/mod_squirrel_64-ubuntu.so'
trigger:
event:
- push
#--- #---
#kind: pipeline #kind: pipeline
#name: build-windows #name: build-windows