Skip to content

Commit f9e5ac2

Browse files
committed
ci: set installer cert & password
1 parent b88b08a commit f9e5ac2

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

.github/workflows/release.yml

+27-25
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: release
33
on:
44
push:
55
branches:
6-
- main
6+
- '*'
77
release:
88
types: [published]
99

@@ -42,6 +42,8 @@ jobs:
4242
- name: Build
4343
env:
4444
APPLE_CERT: ${{ secrets.APPLE_DEVELOPER_ID_PKCS12_B64 }}
45+
APPLE_INSTALLER_CERT: ${{ secrets.APPLE_INSTALLER_PKCS12_B64 }}
46+
INSTALLER_CERT_PASSWORD: ${{ secrets.APPLE_INSTALLER_PKCS12_PASSWORD }}
4547
APPLE_ID: ${{ secrets.APPLE_NOTARYTOOL_USERNAME }}
4648
APPLE_ID_PASSWORD: ${{ secrets.APPLE_NOTARYTOOL_PASSWORD }}
4749
APP_PROF: ${{ secrets.CODER_DESKTOP_APP_PROVISIONPROFILE_B64 }}
@@ -55,30 +57,30 @@ jobs:
5557
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5658
RELEASE_TAG: ${{ github.event_name == 'release' && github.event.release.tag_name || 'preview' }}
5759

58-
update-cask:
59-
name: Update homebrew-coder cask
60-
runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}
61-
if: ${{ github.repository_owner == 'coder' }}
62-
needs: build
63-
steps:
64-
- name: Checkout
65-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
66-
with:
67-
fetch-depth: 0
68-
fetch-tags: true
69-
persist-credentials: false
60+
# update-cask:
61+
# name: Update homebrew-coder cask
62+
# runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}
63+
# if: ${{ github.repository_owner == 'coder' }}
64+
# needs: build
65+
# steps:
66+
# - name: Checkout
67+
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
68+
# with:
69+
# fetch-depth: 0
70+
# fetch-tags: true
71+
# persist-credentials: false
7072

71-
- name: Setup Nix
72-
uses: ./.github/actions/nix-devshell
73+
# - name: Setup Nix
74+
# uses: ./.github/actions/nix-devshell
7375

74-
- name: Update homebrew-coder
75-
env:
76-
GH_TOKEN: ${{ secrets.CODERCI_GITHUB_TOKEN }}
77-
RELEASE_TAG: ${{ github.event_name == 'release' && github.event.release.tag_name || 'preview' }}
78-
ASSIGNEE: ${{ github.actor }}
79-
run: |
80-
git config --global user.email "[email protected]"
81-
git config --global user.name "Coder CI"
82-
gh auth setup-git
76+
# - name: Update homebrew-coder
77+
# env:
78+
# GH_TOKEN: ${{ secrets.CODERCI_GITHUB_TOKEN }}
79+
# RELEASE_TAG: ${{ github.event_name == 'release' && github.event.release.tag_name || 'preview' }}
80+
# ASSIGNEE: ${{ github.actor }}
81+
# run: |
82+
# git config --global user.email "[email protected]"
83+
# git config --global user.name "Coder CI"
84+
# gh auth setup-git
8385

84-
./scripts/update-cask.sh --version "$RELEASE_TAG" --assignee "$ASSIGNEE"
86+
# ./scripts/update-cask.sh --version "$RELEASE_TAG" --assignee "$ASSIGNEE"

0 commit comments

Comments
 (0)