diff options
-rwxr-xr-x | .github/workflows/ci.generate.ts | 4 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index ed73dc69c..33008ce92 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -818,6 +818,8 @@ const ci = { "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", ].join("\n"), }, @@ -1101,6 +1103,8 @@ const ci = { "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", ].join("\n"), }, 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 |