5959 -name :Setup GCloud SDK
6060uses :google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4
6161
62- -name :Download Appcast
63- # if: ${{ !inputs.dryrun }}
64- run :|
65- gsutil cp "gs://releases.coder.com/coder-desktop/mac/appcast.xml" ./appcast.xml
66-
67- -name :Upload Appcast
68- # if: ${{ !inputs.dryrun }}
69- run :|
70- gsutil -h "Cache-Control:no-cache,max-age=0" cp ./appcast.xml "gs://releases.coder.com/coder-desktop/mac/appcast.xml"
71-
7262 -name :Build
7363env :
7464APPLE_DEVELOPER_ID_PKCS12_B64 :${{ secrets.APPLE_DEVELOPER_ID_PKCS12_B64 }}
@@ -100,12 +90,12 @@ jobs:
10090RELEASE_TAG :${{ github.event_name == 'release' && github.event.release.tag_name || 'preview' }}
10191
10292 -name :Download Appcast
103- # if: ${{ !inputs.dryrun }}
93+ if :${{ !inputs.dryrun }}
10494run :|
10595 gsutil cp "gs://releases.coder.com/coder-desktop/mac/appcast.xml" ./oldappcast.xml
10696
10797 -name :Update Appcast
108- # if: ${{ !inputs.dryrun }}
98+ if :${{ !inputs.dryrun }}
10999run :|
110100 pushd scripts/update-appcast
111101 swift run update-appcast \
@@ -120,7 +110,7 @@ jobs:
120110
121111
122112 -name :Upload Appcast
123- # if: ${{ !inputs.dryrun }}
113+ if :${{ !inputs.dryrun }}
124114run :|
125115 gsutil -h "Cache-Control:no-cache,max-age=0" cp ./appcast.xml "gs://releases.coder.com/coder-desktop/mac/appcast.xml"
126116