Skip to content

Commit 9eec87e

Browse files
committed
Don't always download release artifacts
1 parent 639a8b0 commit 9eec87e

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/actions/deploy-setup/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ inputs:
1111
description: "Whether to set up git actions"
1212
required: false
1313
default: 'false'
14+
artifacts:
15+
description: "Whether to download artifacts"
16+
required: false
17+
default: 'true'
1418
outputs:
1519
top-level:
1620
description: "Whether we're continuous, rc, or a new version"
@@ -19,6 +23,7 @@ runs:
1923
using: "composite"
2024
steps:
2125
- name: Install all artifacts
26+
if: ${{ inputs.artifacts == 'true' }}
2227
uses: actions/download-artifact@v4
2328
- name: Restore release commit
2429
shell: bash

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ jobs:
131131
with:
132132
is-dev: ${{ inputs.is-dev }}
133133
is-release: ${{ inputs.is-release }}
134+
artifacts: 'false'
134135
- name: "Publish updated Cargo crates"
135136
run: cranko cargo foreach-released --pause=30 -- publish --no-verify --allow-dirty
136137
env:

0 commit comments

Comments
 (0)