mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 19:52:50 -03:00
Use absolute paths, install gnupg in cygwin, and use cygwin's gpg to verify git tags
This commit is contained in:
parent
50b770cbc2
commit
d1a063238d
1 changed files with 6 additions and 6 deletions
|
@ -98,15 +98,15 @@ jobs:
|
||||||
name: Install cygwin and required packages
|
name: Install cygwin and required packages
|
||||||
command: |
|
command: |
|
||||||
# Download cygwin installer, signature, and signing key
|
# Download cygwin installer, signature, and signing key
|
||||||
Invoke-WebRequest -Uri https://cygwin.com/setup-x86_64.exe -OutFile .\Downloads\setup-x86_64.exe
|
Invoke-WebRequest -Uri https://cygwin.com/setup-x86_64.exe -OutFile C:\Users\circleci\Downloads\setup-x86_64.exe
|
||||||
Invoke-WebRequest -Uri https://cygwin.com/setup-x86_64.exe.sig -OutFile .\Downloads\setup-x86_64.exe.sig
|
Invoke-WebRequest -Uri https://cygwin.com/setup-x86_64.exe.sig -OutFile C:\Users\circleci\Downloads\setup-x86_64.exe.sig
|
||||||
Invoke-WebRequest -Uri https://cygwin.com/key/pubring.asc -OutFile .\Downloads\pubring.asc
|
Invoke-WebRequest -Uri https://cygwin.com/key/pubring.asc -OutFile C:\Users\circleci\Downloads\pubring.asc
|
||||||
# Verify signature
|
# Verify signature
|
||||||
gpg --import .\Downloads\pubring.asc
|
gpg --import C:\Users\circleci\Downloads\pubring.asc
|
||||||
gpg --verify .\Downloads\setup-x86_64.exe.sig .\Downloads\setup-x86_64.exe
|
gpg --verify C:\Users\circleci\Downloads\setup-x86_64.exe.sig C:\Users\circleci\Downloads\setup-x86_64.exe
|
||||||
if($? -ne $true) { throw "cygwin failed to verify" }
|
if($? -ne $true) { throw "cygwin failed to verify" }
|
||||||
# Install cygwin and required packaged
|
# Install cygwin and required packaged
|
||||||
.\Downloads\setup-x86_64.exe -q -s https://mirrors.kernel.org/sourceware/cygwin/ -P libssl-devel,git,gcc-core,make,autoconf,automake,libtool,clang,perl
|
C:\Users\circleci\Downloads\setup-x86_64.exe -q -s https://mirrors.kernel.org/sourceware/cygwin/ -P libssl-devel,git,gcc-core,make,autoconf,automake,libtool,gnupg
|
||||||
# Create folders
|
# Create folders
|
||||||
mkdir C:\Users\circleci\src
|
mkdir C:\Users\circleci\src
|
||||||
mkdir C:\Users\circleci\build
|
mkdir C:\Users\circleci\build
|
||||||
|
|
Loading…
Reference in a new issue