There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
ci: improve download @sentry/cli (#3560)
Alex Yang47ff37619592
diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.ymlindex b52a5fb073..ae062ce326 100644--- a/.github/actions/setup-node/action.yml+++ b/.github/actions/setup-node/action.yml@@ -52,6 +52,7 @@ runs:HUSKY: '0'PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'ELECTRON_SKIP_BINARY_DOWNLOAD: '1'+ SENTRYCLI_SKIP_DOWNLOAD: '1'- name: yarn install (try again)if: ${{ steps.install.outcome == 'failure' }}@@ -62,6 +63,7 @@ runs:HUSKY: '0'PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'ELECTRON_SKIP_BINARY_DOWNLOAD: '1'+ SENTRYCLI_SKIP_DOWNLOAD: '1'- name: Get installed Playwright versionid: playwright-versiondiff --git a/.github/actions/setup-sentry/action.yml b/.github/actions/setup-sentry/action.ymlnew file mode 100644index 0000000000..d38a61b30e--- /dev/null+++ b/.github/actions/setup-sentry/action.yml@@ -0,0 +1,13 @@+name: Setup @sentry/cli+description: 'Setup @sentry/cli'+runs:+ using: 'composite'+ steps:+ - name: 'Install @sentry/cli from brew'+ if: runner.os == 'macos'+ shell: bash+ run: brew install getsentry/tools/sentry-cli+ - name: 'Install @sentry/cli from npm'+ if: runner.os != 'macos'+ shell: bash+ run: sudo npm install -g @sentry/cli --unsafe-permdiff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.ymlindex 1766ca98ff..216bab5792 100644--- a/.github/workflows/nightly-build.yml+++ b/.github/workflows/nightly-build.yml@@ -50,6 +50,8 @@ jobs:- uses: actions/checkout@v3- name: Setup Node.jsuses: ./.github/actions/setup-node+ - name: Setup @sentry/cli+ uses: ./.github/actions/setup-sentry- name: Replace Versionrun: ./scripts/set-version.sh ${{ needs.set-build-version.outputs.version }}- name: generate-assetsdiff --git a/.github/workflows/release-desktop-app.yml b/.github/workflows/release-desktop-app.ymlindex 4a73c00ff4..88038cce65 100644--- a/.github/workflows/release-desktop-app.yml+++ b/.github/workflows/release-desktop-app.yml@@ -47,6 +47,8 @@ jobs:- uses: actions/checkout@v3- name: Setup Node.jsuses: ./.github/actions/setup-node+ - name: Setup @sentry/cli+ uses: ./.github/actions/setup-sentry- name: Get canary versionid: get-canary-versionif: ${{ github.ref_type == 'tag' }}