File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 NIX_CONFIG : access-tokens = github.com=${{ secrets.NIXPKGS_PRIVATE_PAT }}
2525
2626jobs :
27- feature-test-secret :
28- name : " Feature / Secret Test"
29- runs-on : ubuntu-latest
30- permissions :
31- contents : read
32- environment : ${{ inputs.environment }}
33- steps :
34- - name : Checkout Actions
35- uses : actions/checkout@v4
36- with :
37- repository : MatrixAI/.github
38- ref : ${{ inputs.ref }}
39- path : tmp/.github
40- - name : Parse Secrets
41- uses : ./tmp/.github/.github/actions/secrets-parse
42- with :
43- secrets : ${{ secrets.DEPLOY_SECRETS }}
44- - uses : actions/checkout@v4
45- with :
46- lfs : true
47- - uses : MatrixAI/.github/.github/actions/matrixai-env-setup@master
48- - name : Setup Deploy Secrets
49- run : |
50- echo "${{ inputs.DEPLOY_SECRETS }}" | jq -r 'to_entries | .[] | "\(.key)=\(.value)"' >> $GITHUB_ENV
51- - name : Run The Test
52- run : |
53- echo "WHAT IS THIS? $ABC_FEATURE AFTER THE ABC_FEATURE"
54- [ -n "$ABC_FEATURE" ] && echo "ABC_MASTER is set and non-empty" || echo "ABC is not set or empty"
55- echo "WHAT IS THIS? $ABC_MASTER AFTER THE ABC_MASTER"
56- [ -n "$ABC_MASTER" ] && echo "ABC_FEATURE is set and non-empty" || echo "ABC is not set or empty"
57- [ "$ABC_MASTER" = "xxx" ] && echo 'ABC_MASTER is xxx'
58- [ "$ABC_MASTER" = "yyy" ] && echo 'ABC_MASTER is yyy'
59- [ "$ABC_FEATURE" = "xxx" ] && echo 'ABC_FEATURE is xxx'
60- [ "$ABC_FEATURE" = "yyy" ] && echo 'ABC_FEATURE is yyy'
61-
6227 # Lint the code
6328 feature-lint :
6429 name : " Feature / Lint"
You can’t perform that action at this time.
0 commit comments