Fix: Windows nonesense
Some checks reported errors
continuous-integration/drone/tag Build was killed
Some checks reported errors
continuous-integration/drone/tag Build was killed
This commit is contained in:
parent
6244499f72
commit
113afe9df9
1 changed files with 2 additions and 14 deletions
16
.drone.yml
16
.drone.yml
|
@ -1,15 +1,3 @@
|
|||
kind: pipeline
|
||||
type: exec
|
||||
name: test
|
||||
platform:
|
||||
os: windows
|
||||
arch: amd64
|
||||
steps:
|
||||
- name: sign
|
||||
commands:
|
||||
- ' C:\Program` Files` `(x86`)\Windows` Kits\10\bin\10.0.22621.0\x86\signtool.exe sign /n Itsblue` Development /t http://timestamp.digicert.com /fd SHA256 .\receiver\target\x86_64-pc-windows-msvc\release\receiver.exe'
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: build-receiver-windows
|
||||
|
@ -28,7 +16,7 @@ steps:
|
|||
|
||||
- name: sign
|
||||
commands:
|
||||
- '& "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x86\signtool.exe" sign /n "Itsblue Development" /t http://timestamp.digicert.com /fd SHA256 .\receiver\target\x86_64-pc-windows-msvc\release\receiver.exe'
|
||||
- 'C:\Program` Files` `(x86`)\Windows` Kits\10\bin\10.0.22621.0\x86\signtool.exe sign /n Itsblue` Development /t http://timestamp.digicert.com /fd SHA256 .\receiver\target\x86_64-pc-windows-msvc\release\receiver.exe'
|
||||
|
||||
- name: upload
|
||||
environment:
|
||||
|
@ -37,7 +25,7 @@ steps:
|
|||
GITEA_TOKEN:
|
||||
from_secret: gitea-token
|
||||
commands:
|
||||
- '& "C:\Program Files\Git\mingw64\bin\curl.exe" --user $${env:GITEA_USER}:$${env:GITEA_TOKEN} --upload-file receiver/target/x86_64-pc-windows-msvc/release/receiver.exe https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${env:DRONE_COMMIT_SHA}/receiver-windows.exe'
|
||||
- 'C:\Program` Files\Git\mingw64\bin\curl.exe --user $${env:GITEA_USER}:$${env:GITEA_TOKEN} --upload-file receiver/target/x86_64-pc-windows-msvc/release/receiver.exe https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$${env:DRONE_COMMIT_SHA}/receiver-windows.exe'
|
||||
trigger:
|
||||
ref:
|
||||
- refs/tags/v*
|
||||
|
|
Loading…
Reference in a new issue