Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
CI: fix release_beta workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
espkk committed Sep 14, 2021
1 parent d10f74d commit 764b2b4
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/release_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
include:
- enable_steam: true
configuration: msvc-release
name: 'build-windows [${{ matrix.configuration}}, steam: ${{ matrix.enable_steam }}]'
name: 'build-windows [${{ matrix.configuration }}, steam: ${{ matrix.enable_steam }}]'
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -36,16 +36,24 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: storm-engine.${{ matrix.configuration }}-steam-${{ matrix.enable_steam}}
name: storm-engine.${{ matrix.configuration }}-steam-${{ matrix.enable_steam }}
path: build\${{ matrix.configuration }}\bin
- name: Release
- name: Archive release
uses: papeloto/action-zip@v1
with:
files: build\${{ matrix.configuration }}\bin
recursive: true
dest: ${{ matrix.configuration }}.zip
- name: Publish release
uses: softprops/action-gh-release@v1
with:
draft: true
files: build\${{ matrix.configuration }}
- name: Upload debug symbols
files: ${{ matrix.configuration }}.zip
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '12'
run: npm install @sentry/cli
run: ./node_modules/.bin/sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} upload-dif --org storm-devs --project storm-engine "build\${{ matrix.configuration }}\bin"
- name: Upload debug symbols
run: |
npm install @sentry/cli
./node_modules/.bin/sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} upload-dif -o storm-devs -p storm-engine -t pe -t pdb "build\${{ matrix.configuration }}\bin"

0 comments on commit 764b2b4

Please sign in to comment.