mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
refactor: use correct go version
This commit is contained in:
parent
9ae5217a97
commit
27df69f119
8
.github/workflows/build_code.yml
vendored
8
.github/workflows/build_code.yml
vendored
|
@ -12,11 +12,19 @@ name: Build Code
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17
|
||||
- name: Override Go ♻️
|
||||
run: |
|
||||
New-Item -Path ./bin -ItemType Directory
|
||||
Invoke-WebRequest 'https://github.com/jandedobbeleer/go/releases/download/1.17.5/go' -OutFile "$env:GOROOT/bin/go"
|
||||
chmod a+x "$env:GOROOT/bin/go" 2>&1
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Run GoReleaser
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
|||
- name: Override Go ♻️
|
||||
run: |
|
||||
New-Item -Path ./bin -ItemType Directory
|
||||
Invoke-WebRequest 'https://github.com/jandedobbeleer/go/releases/download/1.17.4/go' -OutFile "$env:GOROOT/bin/go"
|
||||
Invoke-WebRequest 'https://github.com/jandedobbeleer/go/releases/download/1.17.5/go' -OutFile "$env:GOROOT/bin/go"
|
||||
chmod a+x "$env:GOROOT/bin/go" 2>&1
|
||||
- name: Tag HEAD 😸
|
||||
run: git tag ${{ needs.changelog.outputs.tag }}
|
||||
|
|
Loading…
Reference in a new issue