Skip to content

Commit

Permalink
Including the .pdb on windows release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusRannare committed Dec 7, 2020
1 parent db43305 commit b59ddc1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: release

on:
release:
types: [published]
on: push

jobs:
build:
Expand Down Expand Up @@ -83,20 +81,20 @@ jobs:
- name: Compile source code
run: |
cd ${{ matrix.build-src-dir || '.' }}
cmake --build . --config ${{ matrix.build-config || 'Release' }}
cmake --build . --config ${{ matrix.build-config || 'RelWithDebInfo' }}
- name: Prepare artifact
if: runner.os == 'Linux' || runner.os == 'macOS'
shell: bash
run: |
mkdir Release
mv libmodio* Release
mkdir RelWithDebInfo
mv libmodio* RelWithDebInfo
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: ${{ matrix.artifact-name }}
path: Release
path: RelWithDebInfo

docs:
name: Generate docs.zip
Expand Down Expand Up @@ -209,10 +207,12 @@ jobs:
mkdir -p "$package"/{bin,lib,static}/msvc/{x86,x64}
mv artifacts/i686-windows-msvc/modio.dll "$package/bin/msvc/x86"
mv artifacts/i686-windows-msvc/modio.pdb "$package/bin/msvc/x86"
mv artifacts/i686-windows-msvc/modio.lib "$package/lib/msvc/x86"
mv artifacts/i686-windows-msvc+static/modio.lib "$package/static/msvc/x86"
mv artifacts/x86_64-windows-msvc/modio.dll "$package/bin/msvc/x64"
mv artifacts/x86_64-windows-msvc/modio.pdb "$package/bin/msvc/x64"
mv artifacts/x86_64-windows-msvc/modio.lib "$package/lib/msvc/x64"
mv artifacts/x86_64-windows-msvc+static/modio.lib "$package/static/msvc/x64"
Expand Down

0 comments on commit b59ddc1

Please sign in to comment.