Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 04bdf641c7 |
@@ -347,8 +347,8 @@ jobs:
|
||||
- name: Update vault dependency (Unix)
|
||||
if: matrix.goos != 'windows'
|
||||
env:
|
||||
GOPRIVATE: ""
|
||||
GOPROXY: direct
|
||||
GOSUMDB: off
|
||||
run: |
|
||||
set -x
|
||||
VAULT_VERSION="${{ steps.vault.outputs.version }}"
|
||||
@@ -360,14 +360,14 @@ jobs:
|
||||
sed -i "s|replace git.marketally.com/gitcaddy/gitcaddy-vault => ../gitcaddy-vault|replace git.marketally.com/gitcaddy/gitcaddy-vault => git.marketally.com/gitcaddy/gitcaddy-vault $VAULT_VERSION|" go.mod
|
||||
fi
|
||||
cat go.mod | grep -A2 "gitcaddy-vault" || true
|
||||
go mod download
|
||||
go mod download git.marketally.com/gitcaddy/gitcaddy-vault
|
||||
|
||||
- name: Update vault dependency (Windows)
|
||||
if: matrix.goos == 'windows'
|
||||
shell: pwsh
|
||||
env:
|
||||
GOPRIVATE: ""
|
||||
GOPROXY: direct
|
||||
GOSUMDB: off
|
||||
run: |
|
||||
$vaultVersion = "${{ steps.vault-win.outputs.version }}"
|
||||
Write-Host "Building with vault $vaultVersion"
|
||||
@@ -375,7 +375,7 @@ jobs:
|
||||
$content = $content -replace 'replace git.marketally.com/gitcaddy/gitcaddy-vault => ../gitcaddy-vault', "replace git.marketally.com/gitcaddy/gitcaddy-vault => git.marketally.com/gitcaddy/gitcaddy-vault $vaultVersion"
|
||||
Set-Content go.mod $content -NoNewline
|
||||
Get-Content go.mod | Select-String "gitcaddy/vault" -Context 0,2
|
||||
go mod download
|
||||
go mod download git.marketally.com/gitcaddy/gitcaddy-vault
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
|
||||
Reference in New Issue
Block a user