mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-18 14:09:38 +08:00
Bump actions/upload-artifact (#2849)
This commit is contained in:
parent
d853eefafa
commit
a8c08715e2
1 changed files with 6 additions and 10 deletions
16
.github/workflows/uffizzi-build.yml
vendored
16
.github/workflows/uffizzi-build.yml
vendored
|
|
@ -95,22 +95,18 @@ jobs:
|
||||||
# Render simple template from environment variables.
|
# Render simple template from environment variables.
|
||||||
envsubst < ./.github/uffizzi/docker-compose.uffizzi.yml > docker-compose.rendered.yml
|
envsubst < ./.github/uffizzi/docker-compose.uffizzi.yml > docker-compose.rendered.yml
|
||||||
cat docker-compose.rendered.yml
|
cat docker-compose.rendered.yml
|
||||||
- name: Upload Rendered Compose File as Artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: preview-spec
|
|
||||||
path: docker-compose.rendered.yml
|
|
||||||
retention-days: 2
|
|
||||||
- name: Serialize PR Event to File
|
- name: Serialize PR Event to File
|
||||||
run: |
|
run: |
|
||||||
cat << EOF > event.json
|
cat << EOF > event.json
|
||||||
${{ toJSON(github.event) }}
|
${{ toJSON(github.event) }}
|
||||||
EOF
|
EOF
|
||||||
- name: Upload PR Event as Artifact
|
- name: Upload Rendered Compose File and PR Event as Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: preview-spec
|
name: preview-spec
|
||||||
path: event.json
|
path: |
|
||||||
|
docker-compose.rendered.yml
|
||||||
|
event.json
|
||||||
retention-days: 2
|
retention-days: 2
|
||||||
|
|
||||||
delete-preview:
|
delete-preview:
|
||||||
|
|
@ -125,7 +121,7 @@ jobs:
|
||||||
${{ toJSON(github.event) }}
|
${{ toJSON(github.event) }}
|
||||||
EOF
|
EOF
|
||||||
- name: Upload PR Event as Artifact
|
- name: Upload PR Event as Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: preview-spec
|
name: preview-spec
|
||||||
path: event.json
|
path: event.json
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue