@@ -89,14 +89,10 @@ jobs:
89
89
GH_TOKEN :${{ secrets.GITHUB_TOKEN }}
90
90
RELEASE_TAG :${{ github.event_name == 'release' && github.event.release.tag_name || 'preview' }}
91
91
92
- -name :Download Appcast
93
- if :${{ !inputs.dryrun }}
94
- run :|
95
- gsutil cp "gs://releases.coder.com/coder-desktop/mac/appcast.xml" ./oldappcast.xml
96
-
97
92
-name :Update Appcast
98
93
if :${{ !inputs.dryrun }}
99
94
run :|
95
+ gsutil cp "gs://releases.coder.com/coder-desktop/mac/appcast.xml" ./oldappcast.xml
100
96
pushd scripts/update-appcast
101
97
swift run update-appcast \
102
98
-i ../../oldappcast.xml \
@@ -105,15 +101,10 @@ jobs:
105
101
-o ../../appcast.xml \
106
102
-d "$VERSION_DESCRIPTION"
107
103
popd
104
+ gsutil -h "Cache-Control:no-cache,max-age=0" cp ./appcast.xml "gs://releases.coder.com/coder-desktop/mac/appcast.xml"
108
105
env :
109
106
VERSION_DESCRIPTION :${{ github.event_name == 'release' && github.event.release.body || '' }}
110
107
111
-
112
- -name :Upload Appcast
113
- if :${{ !inputs.dryrun }}
114
- run :|
115
- gsutil -h "Cache-Control:no-cache,max-age=0" cp ./appcast.xml "gs://releases.coder.com/coder-desktop/mac/appcast.xml"
116
-
117
108
update-cask :
118
109
name :Update homebrew-coder cask
119
110
runs-on :${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}