-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (35 loc) · 871 Bytes
/
Copy pathenv_variable.yml
File metadata and controls
46 lines (35 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# name: Github Environment Variable
# on:
# push:
# branches:
# - main
# env:
# DAY_OF_WEEK: monday
# testenv: value-1
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# test:
# runs-on: windows-latest
# env:
# ENV_FOR_SPECIFIC_JOB: env for the test job
# steps:
# - name: run simple command on runer
# run: pwd
# - name: print env variable for this job
# run: echo "this is an ${{env.ENV_FOR_SPECIFIC_JOB}}"
# deploy:
# runs-on: ubuntu-18.04
# steps:
# - name: print envirement variables
# run: env
# push_container:
# runs-on: macos-latest
# steps:
# - name: run ls command on macos
# run: ls
# - name: push to dockerHub
# run: echo "hello macos"
# needs: [build, test]