mirror of https://github.com/actions/setup-go.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
643 B
YAML
25 lines
643 B
YAML
name: Test outputs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
setup-go-env:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- id: setup-go
|
|
uses: ./
|
|
- run: |
|
|
echo GOPATH=${{ steps.setup-go.outputs.go-path }}
|
|
echo GOMOD=${{ steps.setup-go.outputs.go-mod }}
|
|
echo GOMODCACHE=${{ steps.setup-go.outputs.go-mod-cache }}
|
|
echo GOVERSION=${{ steps.setup-go.outputs.go-version }}
|
|
echo GOCACHE=${{ steps.setup-go.outputs.go-cache }}
|
|
|
|
echo Go environment variables json:
|
|
jq . <<< '${{ steps.setup-go.outputs.go-env }}'
|