Skip to content

Configure GOCACHE variable in workflow #21

Configure GOCACHE variable in workflow

Configure GOCACHE variable in workflow #21

Workflow file for this run

name: zos-build
on:
pull_request:
paths:
- ".github/workflows/zos-build.yml"
- "native/**"
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Set up Credentials
run: |
cat << EOF > tools/build/config.local.json
{
"host": "${{ secrets.SSH_MARIST_RACF_HOST }}",
"port": 65522,
"username": "${{ secrets.SSH_MARIST_USERNAME }}",
"password": "${{ secrets.SSH_MARIST_RACF_PASSWORD }}",
"deployDirectory": "/ZOWE/tmp/zowe-native-proto",
"goEnv": "GOCACHE=/ZOWE/tmp/.go-cache GOTMPDIR=/ZOWE/tmp"
}
EOF
- name: Build (Local)
run: npm install && npm run build:tools
- name: Build (z/OS)
run: npm run tools:all && npm run tools:artifacts
- uses: actions/upload-artifact@v4
with:
name: zowe-server
path: packages/cli/bin/server.pax.Z