Update blank.yml #212
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pre-install software in GHA runner | |
on: [push, workflow_dispatch] | |
env: | |
HOME: /home/runner/work/ | |
jobs: | |
view-prebuilt-version: | |
strategy: | |
matrix: | |
os: [macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@main | |
if: ${{ false }} | |
- name: docker pre-install | |
run: docker --version | |
if: ${{ matrix.os != 'macos-latest' }} | |
- name: mysql pre-install | |
run: mysql -V | |
if: ${{ matrix.os != 'macos-latest' }} | |
- name: java pre-install | |
if: ${{ false }} | |
run: java -version | |
- name: python pre-install | |
if: ${{ false }} | |
run: python --version | |
- name: node pre-built | |
if: ${{ false }} | |
run: node --version | |
- name: go pre-built | |
if: ${{ false }} | |
run: go version | |
- run: echo $(go env GOOS) | |
if: ${{ false }} | |
shell: bash | |
- uses: actions/setup-go@main | |
with: | |
go-version: 'stable' | |
# When no go versions are set in workflow file, the default version in GitHub hosted runner is used. | |
- name: after setup Golang | |
run: go version | |
- name: after setup Golang | |
run: go version |