Skip to content

Test env context

Test env context #11

Workflow file for this run

name: Test env context
on:
workflow_dispatch:
inputs:
ref:
type: string
default: main
description: "The branch, tag, or SHA to checkout"
jobs:
run:
name: Test env context
runs-on: ubuntu-latest
steps:
- name: test env context
env:
test1: yay1
run: |
export test2=yay2
echo "env.test1: ${{ env.test1 || 'boo1' }}"
echo "env.test2: ${{ env.test2 || 'boo2' }}"