diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92e43749e2..5a61edb5c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -277,16 +277,14 @@ jobs: - test-postgres-binary - test-postgres-normal - test-mysql + - build-mattermost-server if: ${{ github.event_name == 'push' }} env: - SENTRY_CLI_VERSION: 1.64.1 - SENTRY_ORG: mattermost-mr + SENTRY_AUTH_TOKEN: ${{ secrets.MM_SERVER_SENTRY_AUTH_TOKEN }} + SENTRY_ORG: ${{ secrets.MM_SERVER_SENTRY_ORG }} + SENTRY_PROJECT: ${{ secrets.MM_SERVER_SENTRY_PROJECT }} steps: - name: Checkout mattermost-server uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - - name: Install sentry-cli - run: curl -sL https://sentry.io/get-cli/ | sh - - name: Run sentry-cli - run: | - sentry-cli --log-level=debug releases new --finalize -p mattermost-server `git rev-parse HEAD` - sentry-cli --log-level=debug releases set-commits --auto `git rev-parse HEAD` + - name: Create Sentry release + uses: getsentry/action-release@85e0095193a153d57c458995f99d0afd81b9e5ea # v1.3.0