Skip to content

Commit

Permalink
Use vars instead of env to pull variables from github config
Browse files Browse the repository at this point in the history
  • Loading branch information
bluesmoon committed Sep 11, 2023
1 parent d6313ce commit f0a7eaa
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
branches:
- main
tags: '*'
env:
MPULSEAPIVERBOSE: false
MPULSEAPIENDPOINT: https://mpulse.soasta.com/concerto
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand All @@ -34,10 +31,10 @@ jobs:
env:
mPulseAPIToken: ${{ secrets.MPULSEAPITOKEN }}
mPulseAPITenant: ${{ secrets.MPULSEAPITENANT }}
mPulseAPIAlert: ${{ env.MPULSEAPIALERT }}
DA_mPulseAPIAlert: ${{ env.DA_MPULSEAPIALERT }}
mPulseAPIVerbose: ${{ env.MPULSEAPIVERBOSE }}
mPulseAPIEndpoint: ${{ env.MPULSEAPIENDPOINT }}
mPulseAPIAlert: ${{ vars.MPULSEAPIALERT }}
DA_mPulseAPIAlert: ${{ vars.DA_MPULSEAPIALERT }}
mPulseAPIVerbose: ${{ vars.MPULSEAPIVERBOSE }}
mPulseAPIEndpoint: ${{ vars.MPULSEAPIENDPOINT }}
- run: julia --color=yes --project=. -e 'if VERSION < v"1.9"; using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); end'
working-directory: ${{ github.workspace }}
env:
Expand Down

0 comments on commit f0a7eaa

Please sign in to comment.