update
This commit is contained in:
36
.github/workflows/build.yml
vendored
36
.github/workflows/build.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
steps:
|
||||
- name: Pull Frida Latest Release
|
||||
id: pullFridaLatestRelease
|
||||
uses: actions/github-script@v3.1.0
|
||||
uses: actions/github-script@v3
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
@@ -37,12 +37,12 @@ jobs:
|
||||
run: |
|
||||
repo_name=${{ github.repository }}
|
||||
IFS='/' read -ra repo_parts <<< "$repo_name"
|
||||
echo "::set-output name=owner::${repo_parts[0]}"
|
||||
echo "::set-output name=repo::${repo_parts[1]}"
|
||||
echo "owner=${repo_parts[0]}" >> $GITHUB_OUTPUT
|
||||
echo "repo=${repo_parts[1]}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Check release version
|
||||
id: checkReleaseVersion
|
||||
uses: actions/github-script@v3.1.0
|
||||
uses: actions/github-script@v3
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
@@ -106,7 +106,7 @@ jobs:
|
||||
|
||||
- name: Setup Android NDK
|
||||
id: setup-ndk
|
||||
uses: nttld/setup-ndk@v1.2.0
|
||||
uses: nttld/setup-ndk@v1
|
||||
with:
|
||||
ndk-version: r25c
|
||||
local-cache: true
|
||||
@@ -143,12 +143,12 @@ jobs:
|
||||
run: |
|
||||
repo_name=${{ github.repository }}
|
||||
IFS='/' read -ra repo_parts <<< "$repo_name"
|
||||
echo "::set-output name=owner::${repo_parts[0]}"
|
||||
echo "::set-output name=repo::${repo_parts[1]}"
|
||||
echo "owner=${repo_parts[0]}" >> $GITHUB_OUTPUT
|
||||
echo "repo=${repo_parts[1]}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Check release version
|
||||
id: checkReleaseVersion
|
||||
uses: actions/github-script@v3.1.0
|
||||
uses: actions/github-script@v3
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
@@ -202,7 +202,7 @@ jobs:
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm/bin/frida-server.xz'
|
||||
asset_name: 'hluda-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm.xz'
|
||||
asset_name: 'florida-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm.xz'
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload android arm64 frida-server for Florida
|
||||
@@ -212,7 +212,7 @@ jobs:
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm64/bin/frida-server.xz'
|
||||
asset_name: 'hluda-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm64.xz'
|
||||
asset_name: 'florida-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm64.xz'
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload android x86 frida-server for Florida
|
||||
@@ -222,7 +222,7 @@ jobs:
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/frida/build/frida-android-x86/bin/frida-server.xz'
|
||||
asset_name: 'hluda-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86.xz'
|
||||
asset_name: 'florida-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86.xz'
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload android x86_64 frida-server for Florida
|
||||
@@ -232,7 +232,7 @@ jobs:
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/frida/build/frida-android-x86_64/bin/frida-server.xz'
|
||||
asset_name: 'hluda-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86_64.xz'
|
||||
asset_name: 'florida-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86_64.xz'
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload android arm frida-inject for Florida
|
||||
@@ -242,7 +242,7 @@ jobs:
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm/bin/frida-inject.xz'
|
||||
asset_name: 'hluda-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm.xz'
|
||||
asset_name: 'florida-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm.xz'
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload android arm64 frida-inject for Florida
|
||||
@@ -252,7 +252,7 @@ jobs:
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm64/bin/frida-inject.xz'
|
||||
asset_name: 'hluda-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm64.xz'
|
||||
asset_name: 'florida-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm64.xz'
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload android x86 frida-inject for Florida
|
||||
@@ -262,7 +262,7 @@ jobs:
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/frida/build/frida-android-x86/bin/frida-inject.xz'
|
||||
asset_name: 'hluda-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86.xz'
|
||||
asset_name: 'florida-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86.xz'
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload android x86_64 frida-inject for Florida
|
||||
@@ -272,7 +272,7 @@ jobs:
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/frida/build/frida-android-x86_64/bin/frida-inject.xz'
|
||||
asset_name: 'hluda-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm-x86_64.xz'
|
||||
asset_name: 'florida-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm-x86_64.xz'
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload android arm frida-gadget for Florida
|
||||
@@ -282,7 +282,7 @@ jobs:
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm/lib/frida/32/frida-gadget.so.xz'
|
||||
asset_name: 'hluda-gadget-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm.so.xz'
|
||||
asset_name: 'florida-gadget-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm.so.xz'
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload android arm64 frida-gadget for Florida
|
||||
@@ -292,6 +292,6 @@ jobs:
|
||||
with:
|
||||
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
|
||||
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm64/lib/frida/64/frida-gadget.so.xz'
|
||||
asset_name: 'hluda-gadget-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm64.so.xz'
|
||||
asset_name: 'florida-gadget-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm64.so.xz'
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
|
||||
Reference in New Issue
Block a user