Skip to content

Commit b9822b8

Browse files
committed
merge 3 steps
1 parent c0c28ad commit b9822b8

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,10 @@ jobs:
8989
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9090
RELEASE_TAG: ${{ github.event_name == 'release' && github.event.release.tag_name || 'preview' }}
9191

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-
9792
- name: Update Appcast
9893
if: ${{ !inputs.dryrun }}
9994
run: |
95+
gsutil cp "gs://releases.coder.com/coder-desktop/mac/appcast.xml" ./oldappcast.xml
10096
pushd scripts/update-appcast
10197
swift run update-appcast \
10298
-i ../../oldappcast.xml \
@@ -105,15 +101,10 @@ jobs:
105101
-o ../../appcast.xml \
106102
-d "$VERSION_DESCRIPTION"
107103
popd
104+
gsutil -h "Cache-Control:no-cache,max-age=0" cp ./appcast.xml "gs://releases.coder.com/coder-desktop/mac/appcast.xml"
108105
env:
109106
VERSION_DESCRIPTION: ${{ github.event_name == 'release' && github.event.release.body || '' }}
110107

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-
117108
update-cask:
118109
name: Update homebrew-coder cask
119110
runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}

0 commit comments

Comments
 (0)