Skip to content

Commit

Permalink
ci: Fix the Release Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
A. Challande committed Nov 29, 2022
1 parent 1f3673c commit b63502a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
sdk_password: IDA_SDK77_PASSWORD
- ida_sdk: 80
sdk_password: IDA_SDK80_PASSWORD
- os: ubuntu-latest
ext: so
- os: windows-latest
ext: dll

runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -59,11 +63,16 @@ jobs:
cmake --build $CMAKE_BUILD_DIR --config $BUILD_TYPE
cmake --install $CMAKE_BUILD_DIR
- name: Rename Plugin
shell: bash
run:
mv build${{ matrix.ida_sdk }}/quokka-install/quokka_* ${{ matrix.ida_sdk }}-quokka_plugin0064.${{ matrix.ext }}

- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: idaplugin-artifacts-${{ matrix.os }}-${{ matrix.ida_sdk }}
path: build${{ matrix.ida_sdk }}/quokka-install/quokka_*
name: idaplugin-${{ matrix.os }}-${{ matrix.ida_sdk }}
path: ${{ matrix.ida_sdk }}-quokka_plugin0064.${{ matrix.ext }}
if-no-files-found: error

upload:
Expand All @@ -85,9 +94,10 @@ jobs:
- name: Download Artefact
uses: actions/download-artifact@v3
with:
name: idaplugin-artifacts-${{ matrix.os }}-${{ matrix.ida_sdk }}/quokka_plugin0064.${{ matrix.ext }}
path: sdk${{ matrix.ida_sdk }}-quokka_plugin0064.${{ matrix.ext }}
name: idaplugin-${{ matrix.os }}-${{ matrix.ida_sdk }}

- name: Release
uses: softprops/action-gh-release@v0.1.14
with:
files: sdk${{ matrix.ida_sdk }}-quokka_plugin0064.${{ matrix.ext }}
files: ${{ matrix.ida_sdk }}-quokka_*
fail_on_unmatched_files: true
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,4 @@ jobs:
- name: Upload Python packages for release notes
uses: softprops/action-gh-release@v0.1.14
with:
files:
- dist/*
files: dist/*

0 comments on commit b63502a

Please sign in to comment.