Skip to content

Commit

Permalink
debug install_go
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAbides committed Aug 8, 2023
1 parent 5d13eaf commit beea216
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: integration
on: [ push, workflow_dispatch ]
jobs:
install_go_tip:
name: install tip
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- windows-2022
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3.3.0
- id: setup_go
name: install tip
uses: ./
with:
go-version: tip
- name: outputs
run: |
echo '*********** env ************'
env
echo '*********** go env ***********'
go env
echo '${{ toJson( steps.setup_go.outputs ) }}' | jq .
go version
set -ex
[[ "$(go version)" == *"devel"* ]]
# install_go_tip:
# name: install tip
# strategy:
# fail-fast: false
# matrix:
# os:
# - ubuntu-22.04
# - windows-2022
# runs-on: ${{ matrix.os }}
# defaults:
# run:
# shell: bash
# steps:
# - uses: actions/checkout@v3.3.0
# - id: setup_go
# name: install tip
# uses: ./
# with:
# go-version: tip
# - name: outputs
# run: |
# echo '*********** env ************'
# env
# echo '*********** go env ***********'
# go env
# echo '${{ toJson( steps.setup_go.outputs ) }}' | jq .
# go version
# set -ex
# [[ "$(go version)" == *"devel"* ]]
install_go:
name: install go
strategy:
Expand Down
1 change: 1 addition & 0 deletions src/lib
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ download_go_url() {
install_go() {
local go_version="$1"
local target_dir="$2"
debug_out "installing go $go_version to $target_dir"
rm -rf "$target_dir"
mkdir -p "$(dirname "$target_dir")"
tmpdir="$(init_tmpdir)"
Expand Down

0 comments on commit beea216

Please sign in to comment.