summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-19 12:48:06 +0100
committerGitHub <noreply@github.com>2024-09-19 13:48:06 +0200
commit236a298f9db93a4247449a177e4a021ca121353d (patch)
treec4c277332ad67612954f9513737cb9db8302a031 /.github
parentd7aafda2431026b4e4c3b91e674a54857f4bf47e (diff)
ci: fix 'promote_to_release' script (#25727)
This CI action was using wrong variable to create release directory.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/promote_to_release.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/promote_to_release.yml b/.github/workflows/promote_to_release.yml
index 07109acb6..3dc15dc73 100644
--- a/.github/workflows/promote_to_release.yml
+++ b/.github/workflows/promote_to_release.yml
@@ -58,5 +58,5 @@ jobs:
- name: Upload archives to dl.deno.land
run: |
- gsutil -h "Cache-Control: public, max-age=3600" cp ./*.zip gs://dl.deno.land/release/$(cat release-${{github.event.inputs.commitHash}}-latest.txt)/
- gsutil -h "Cache-Control: no-cache" cp release-${{github.event.inputs.commitHash}}-latest.txt gs://dl.deno.land/release-${{github.event.inputs.commitHash}}-latest.txt
+ gsutil -h "Cache-Control: public, max-age=3600" cp ./*.zip gs://dl.deno.land/release/$(cat release-${{github.event.inputs.releaseKind}}-latest.txt)/
+ gsutil -h "Cache-Control: no-cache" cp release-${{github.event.inputs.releaseKind}}-latest.txt gs://dl.deno.land/release-${{github.event.inputs.releaseKind}}-latest.txt