generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 985 Bytes
/
test-as-step.yml
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
name: "Test as a step"
on:
push:
branches:
- staging
jobs:
test-as-step:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Start Standard Change
uses: ./
id: start-standard-change
with:
client-key: ${{ secrets.STANDARD_CHANGE_SANDBOX_CLIENT_KEY }}
client-secret: ${{ secrets.STANDARD_CHANGE_SANDBOX_CLIENT_SECRET }}
template-id: ${{ secrets.TEST_TEMPLATE_ID }}
- name: Deploy
id: deploy
run: exit 0
- name: Test Outputs
if: always() && steps.start-standard-change.outcome == 'success'
run: echo Check env
env:
client-key: ${{ secrets.STANDARD_CHANGE_SANDBOX_CLIENT_KEY }}
client-secret: ${{ secrets.STANDARD_CHANGE_SANDBOX_CLIENT_SECRET }}
change-sys-id: ${{ steps.start-standard-change.outputs.change-sys-id }}
work-start: ${{ steps.start-standard-change.outputs.work-start }}
success: ${{ job.status == 'success' }}