workflows: clone events.json locally
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user