diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1140583ca5..2d8a1d492b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -25,8 +25,6 @@ jobs: steps: - name: 🐣 Checkout uses: actions/checkout@v4 - with: - submodules: recursive - name: 🌾 Prepare vars id: vars @@ -198,13 +196,44 @@ jobs: bundle exec fastlane windows upload_s3 exe:${{ env.ARTIFACT_PATHNAME }} - name: 📮 Upload debug symbols - if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') && env.ARTIFACT_NAME != null + uses: actions/upload-artifact@v4 + with: + name: debug-symbols + path: | + ${{ env.CMAKE_BUILD_DIR }}/**/*.exe + ${{ env.CMAKE_BUILD_DIR }}/**/*.pdb + ${{ env.CMAKE_BUILD_DIR }}/**/*.dll + ${{ env.CMAKE_BUILD_DIR }}/**/*.lib +# if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') && env.ARTIFACT_NAME != null + + upload_debug_symbols: + name: upload debug symbols (windows) + runs-on: windows-2022 + needs: build + steps: + - name: 🐣 Checkout + uses: actions/checkout@v4 + + - name: Download artifacts + uses: actions/download-artifact@v4 + with: + name: debug-symbols + + - name: 💎 Setup ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2' # Not needed with a .ruby-version file + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + + - name: Sentry upload env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} SENTRY_ORG_SLUG: opengisch SENTRY_PROJECT_SLUG: qfield + SENTRY_LOG_LEVEL: debug run: | - bundle exec fastlane run sentry_debug_files_upload path:${{ env.CMAKE_BUILD_DIR }} + bundle exec fastlane run sentry_debug_files_upload path:. + deploy: name: deploy (ms store)