Skip to content

Commit

Permalink
Add rust_g.pdb to release
Browse files Browse the repository at this point in the history
  • Loading branch information
Arrow768 authored Apr 15, 2023
1 parent f55a702 commit 396f22a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ jobs:
release_name: ${{ github.ref }}
draft: false
prerelease: false

- uses: actions/download-artifact@v2
with:
name: Windows Build
Expand All @@ -141,10 +142,19 @@ jobs:
asset_path: ./i686-pc-windows-msvc/release/rust_g.dll
asset_name: rust_g.dll
asset_content_type: application/octet-stream
- name: Upload rust_g.pdb (Windows)
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./i686-pc-windows-msvc/release/rust_g.pdb
asset_name: rust_g.pdb
asset_content_type: application/octet-stream

- uses: actions/download-artifact@v2
with:
name: Linux Build

- name: Upload librust_g.so (Linux)
uses: actions/upload-release-asset@v1
env:
Expand All @@ -158,7 +168,6 @@ jobs:
- uses: actions/download-artifact@v2
with:
name: Windows Build

- name: Upload rust_g.dm
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 396f22a

Please sign in to comment.