Update manual.yml

This commit is contained in:
Mason Shi
2022-04-03 22:45:50 +08:00
committed by GitHub
parent fe77785833
commit 7e1916e8e9

View File

@@ -12,7 +12,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "greet"
check-version:
check_version:
name: check the latest version
# The type of runner that the job will run on
runs-on: ubuntu-20.04
@@ -45,7 +45,7 @@ jobs:
sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install innoextract cmake build-essential tree ninja-build gcc-multilib g++-multilib lib32stdc++-9-dev flex bison xz-utils ruby ruby-dev python3-requests python3-setuptools python3-dev python3-pip libc6-dev libc6-dev-i386 -y
python3 -m pip install r2pipe loguru
- name: build radare2 and innoextract
- name: build radare2
shell: bash
run: |
git clone https://github.com/radareorg/radare2
@@ -56,13 +56,13 @@ jobs:
output=$(python auto-analysis/check_version.py )
echo '::set-output name=LATEST_VERSION::$output'
create-release:
needs: check-version
create_release:
needs: check_version
runs-on: ubuntu-20.04
if: needs.check_version.outputs.RELEASE_VERSION != needs.check_version.outputs.LATEST_VERSION
steps:
- uses: actions/create-release@master
- uses: actions/create_release@master
id: createRelease
name: Create Runner Release
env:
@@ -73,7 +73,7 @@ jobs:
prerelease: false
patch_file:
needs: [check-version, create-release]
needs: [check_version, create_release]
runs-on: ubuntu-20.04
if: needs.check_version.outputs.RELEASE_VERSION != needs.check_version.outputs.LATEST_VERSION
steps: