Fix: Windows nonesense
Some checks reported errors
continuous-integration/drone/tag Build was killed

This commit is contained in:
Dorian Zedler 2023-02-17 20:23:56 +01:00
parent 6244499f72
commit 113afe9df9
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -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 kind: pipeline
type: exec type: exec
name: build-receiver-windows name: build-receiver-windows
@ -28,7 +16,7 @@ steps:
- name: sign - name: sign
commands: 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 - name: upload
environment: environment:
@ -37,7 +25,7 @@ steps:
GITEA_TOKEN: GITEA_TOKEN:
from_secret: gitea-token from_secret: gitea-token
commands: 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: trigger:
ref: ref:
- refs/tags/v* - refs/tags/v*