59
59
-name :Setup GCloud SDK
60
60
uses :google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4
61
61
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
-
72
62
-name :Build
73
63
env :
74
64
APPLE_DEVELOPER_ID_PKCS12_B64 :${{ secrets.APPLE_DEVELOPER_ID_PKCS12_B64 }}
@@ -100,12 +90,12 @@ jobs:
100
90
RELEASE_TAG :${{ github.event_name == 'release' && github.event.release.tag_name || 'preview' }}
101
91
102
92
-name :Download Appcast
103
- # if: ${{ !inputs.dryrun }}
93
+ if :${{ !inputs.dryrun }}
104
94
run :|
105
95
gsutil cp "gs://releases.coder.com/coder-desktop/mac/appcast.xml" ./oldappcast.xml
106
96
107
97
-name :Update Appcast
108
- # if: ${{ !inputs.dryrun }}
98
+ if :${{ !inputs.dryrun }}
109
99
run :|
110
100
pushd scripts/update-appcast
111
101
swift run update-appcast \
@@ -120,7 +110,7 @@ jobs:
120
110
121
111
122
112
-name :Upload Appcast
123
- # if: ${{ !inputs.dryrun }}
113
+ if :${{ !inputs.dryrun }}
124
114
run :|
125
115
gsutil -h "Cache-Control:no-cache,max-age=0" cp ./appcast.xml "gs://releases.coder.com/coder-desktop/mac/appcast.xml"
126
116