workflows: clone events.json locally

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2024-05-27 21:12:24 -04:00
parent 0413878007
commit 50a608a7d9
2 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -41,13 +41,17 @@ jobs:
run: |
yarn backstage-repo-tools repo schema openapi check --since origin/${{ github.base_ref }} > comment.md
- name: clone github events.json to local path
run: |
cat ${{ github.event_path }} > events.json
- name: Upload Artifacts
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: preview-spec
path: |
comment.md
${{ github.event_path }}
events.json
retention-days: 2
overwrite: true
+6 -1
View File
@@ -97,13 +97,18 @@ jobs:
kustomize edit set image backstage=${{ needs.build-backstage.outputs.tags }}
kustomize build . > manifests.rendered.yml
cat manifests.rendered.yml
- name: clone github events.json locally
run: |
cat ${{ github.event_path }} > events.json
- name: Upload Artifacts
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: preview-spec
path: |
./.github/uffizzi/k8s/manifests/manifests.rendered.yml
${{ github.event_path }}
events.json
retention-days: 2
overwrite: true