@@ -835,21 +835,16 @@ jobs:
835
835
TOKEN_SAO_PAULO : ${{ secrets.FLY_SAO_PAULO_CODER_PROXY_SESSION_TOKEN }}
836
836
837
837
deploy-legacy-proxies :
838
- name : " deploy-legacy-proxies"
839
- runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-16vcpu-ubuntu-2204' || 'ubuntu-latest' }}
838
+ runs-on : ubuntu-latest
840
839
timeout-minutes : 30
841
- needs : changes
842
- if : |
843
- github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
844
- && needs.changes.outputs.docs-only == 'false'
840
+ needs : build
841
+ if : github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
845
842
permissions :
846
843
contents : read
847
844
id-token : write
848
845
steps :
849
846
- name : Checkout
850
847
uses : actions/checkout@v4
851
- with :
852
- fetch-depth : 0
853
848
854
849
- name : Authenticate to Google Cloud
855
850
uses : google-github-actions/auth@v2
@@ -860,30 +855,11 @@ jobs:
860
855
- name : Set up Google Cloud SDK
861
856
uses : google-github-actions/setup-gcloud@v2
862
857
863
- - name : Setup Node
864
- uses : ./.github/actions/setup-node
865
-
866
- - name : Setup Go
867
- uses : ./.github/actions/setup-go
868
-
869
- - name : Install goimports
870
- run : go install golang.org/x/tools/cmd/goimports@latest
871
- - name : Install nfpm
872
- run : go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.16.0
873
-
874
- - name : Install zstd
875
- run : sudo apt-get install -y zstd
876
-
877
- - name : Build Release
878
- run : |
879
- set -euo pipefail
880
- go mod download
881
-
882
- version="$(./scripts/version.sh)"
883
- make gen/mark-fresh
884
- make -j \
885
- build/coder_"$version"_windows_amd64.zip \
886
- build/coder_"$version"_linux_amd64.{tar.gz,deb}
858
+ - name : Upload build artifacts
859
+ uses : actions/upload-artifact@v3
860
+ with :
861
+ name : coder
862
+ path : ./build
887
863
888
864
- name : Install Release
889
865
run : |
0 commit comments