diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-18 21:17:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-18 20:17:12 +0000 |
| commit | 315baeb50af0ff66961b36e0fcfc78f8dacb9198 (patch) | |
| tree | d8053ac9e17ba82d6c657a50ec6efcf2e1c8ebe5 /.github/workflows/ci.yml | |
| parent | 5057f58145ab47276fdc4392619888e37aea8864 (diff) | |
ci: fix uploading canary (#25715)
If a newer version was available the script was exiting with code 1.
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b0a0d744..a8ff11c34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -491,6 +491,8 @@ jobs: if [ $? -eq 0 ]; then echo ${{ github.sha }} > canary-latest.txt gsutil -h "Cache-Control: no-cache" cp canary-latest.txt gs://dl.deno.land/canary-$(rustc -vV | sed -n "s|host: ||p")-latest.txt + else + echo "Skipping upload, because newer canary version is already available" fi - name: Autobahn testsuite if: |- @@ -699,4 +701,6 @@ jobs: if [ $? -eq 0]; then echo ${{ github.sha }} > canary-latest.txt gsutil -h "Cache-Control: no-cache" cp canary-latest.txt gs://dl.deno.land/canary-latest.txt + else + echo "Skipping upload, because newer canary version is already available" fi |
