version bump, staging final tweaks for release #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package IDA Plugin 📦 | |
on: push | |
jobs: | |
package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download workflow artifact | |
uses: dawidd6/action-download-artifact@v6 | |
with: | |
# the target repo for external artifacts (built libs) | |
repo: gaasedelen/keystone | |
branch: master | |
# token to fetch artifacts from the repo | |
github_token: ${{secrets.KEYSTONE_PATCHING_TOKEN}} | |
# which workflow to search for artifacts | |
workflow: python-publish.yml | |
workflow_conclusion: success | |
- name: Package distributions | |
shell: bash | |
run: | | |
mkdir dist && cd dist | |
mkdir win32 && cp -r ../plugins/* ./win32/ && cp -r ../artifact_windows-latest/* ./win32/patching/keystone && cd ./win32 && zip -r ../patching_win32.zip ./* && cd .. | |
mkdir linux && cp -r ../plugins/* ./linux/ && cp -r ../artifact_ubuntu-latest/* ./linux/patching/keystone && cd ./linux && zip -r ../patching_linux.zip ./* && cd .. | |
mkdir darwin && cp -r ../plugins/* ./darwin/ && cp -r ../artifact_macos-latest/* ./darwin/patching/keystone && cd ./darwin && zip -r ../patching_macos.zip ./* && cd .. | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: ${{ github.workspace }}/dist/*.zip |