Browse Source

Fix ignore_missing casing and removed duplicate

fix-release-ci
Ionite 1 year ago committed by GitHub
parent
commit
5cff99c511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      .github/workflows/release.yml

17
.github/workflows/release.yml

@ -82,21 +82,7 @@ jobs:
path: ${{ env.out-name }} path: ${{ env.out-name }}
- name: Create Sentry release - name: Create Sentry release
if: ${{ github.event_name == 'release' || github.event.inputs.sentry-release == 'true' }} if: ${{ github.event.inputs.sentry-release == 'true' }}
uses: getsentry/action-release@v1
env:
MAKE_SENTRY_RELEASE: ${{ secrets.SENTRY_PROJECT != '' }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production
ignore_missing: true
ignore-empty: true
version: StabilityMatrix.Avalonia@${{ env.GIT_TAG_NAME }}
- name: Create Sentry release
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: getsentry/action-release@v1 uses: getsentry/action-release@v1
env: env:
MAKE_SENTRY_RELEASE: ${{ secrets.SENTRY_PROJECT != '' }} MAKE_SENTRY_RELEASE: ${{ secrets.SENTRY_PROJECT != '' }}
@ -106,6 +92,7 @@ jobs:
with: with:
environment: production environment: production
ignore_missing: true ignore_missing: true
ignore_empty: true
version: StabilityMatrix.Avalonia@${{ github.event.inputs.version }} version: StabilityMatrix.Avalonia@${{ github.event.inputs.version }}

Loading…
Cancel
Save