From c6d8663247b014b1bf8fafb9a81235ef5f447d86 Mon Sep 17 00:00:00 2001 From: Artem Date: Fri, 3 Nov 2023 15:56:21 +0100 Subject: [PATCH] Split release on 2 jobs --- .github/workflows/prerelease.yml | 12 ++++++++++++ .github/workflows/release.yml | 13 +++++++++++++ 2 files changed, 25 insertions(+) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 7e67de4a..3a3ffc6e 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -23,6 +23,18 @@ jobs: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: true + sentry: + name: Sentry release + runs-on: ubuntu-latest + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + steps: + - name: Check out the repo + uses: actions/checkout@v4 + + - name: Set up environment + run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} + - name: Create Sentry release uses: getsentry/action-release@v1 env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2494ba5..6d5032c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,18 @@ jobs: prerelease: false automatic_release_tag: "latest" + sentry: + name: Sentry release + runs-on: ubuntu-latest + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + steps: + - name: Check out the repo + uses: actions/checkout@v4 + + - name: Set up environment + run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} + - name: Create Sentry release uses: getsentry/action-release@v1 env: @@ -33,3 +45,4 @@ jobs: SENTRY_URL: "${{ secrets.SENTRY_URL }}" with: environment: production +