fix(ci): workflow files aren't saving artifacts as expected

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2024-05-27 20:39:11 -04:00
parent eeb5b782de
commit 5c093f297d
2 changed files with 7 additions and 17 deletions
+3 -8
View File
@@ -45,14 +45,9 @@ jobs:
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: preview-spec
path: comment.md
path: |
comment.md
${{ github.event_path }}
retention-days: 2
overwrite: true
- name: Upload PR Event as Artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: preview-spec
path: ${{ github.event_path }}
retention-days: 2
overwrite: true
+4 -9
View File
@@ -97,18 +97,13 @@ jobs:
kustomize edit set image backstage=${{ needs.build-backstage.outputs.tags }}
kustomize build . > manifests.rendered.yml
cat manifests.rendered.yml
- name: Upload Rendered Manifests File as Artifact
- name: Upload Artifacts
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: preview-spec
path: ./.github/uffizzi/k8s/manifests/manifests.rendered.yml
retention-days: 2
overwrite: true
- name: Upload PR Event as Artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: preview-spec
path: ${{ github.event_path }}
path: |
./.github/uffizzi/k8s/manifests/manifests.rendered.yml
${{ github.event_path }}
retention-days: 2
overwrite: true