Skip to content

Commit

Permalink
Upgrade checkout/download to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
radare authored and trufae committed Apr 2, 2024
1 parent 931e86e commit 15a3691
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Installing radare2 from git
run: ( git clone --depth=1 https://github.com/radareorg/radare2 && cd radare2 && sys/install.sh /usr )
- name: Building r2ghidra with acr
Expand All @@ -38,7 +38,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Installing radare2 from deb
run: |
wget https://github.com/radareorg/radare2/releases/download/5.9.0/radare2_5.9.0_amd64.deb
Expand All @@ -57,15 +57,15 @@ jobs:
- name: Running Testsuite
run: make -C test || exit 0
- name: Uploading debs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
# path: radare2/dist/debian/*/*.deb r2ghidra/dist/debian/*.deb
name: linux-deb
path: dist/debian/*.deb
- name: Precompiling the sleigh
run: make dist
- name: Uploading sleigh
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-acr-ok
path: r2ghidra_sleigh-*.zip
Expand All @@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Installing radare2 from deb
run: |
wget https://github.com/radareorg/radare2/releases/download/5.9.0/radare2_5.9.0_amd64.deb
Expand All @@ -84,7 +84,7 @@ jobs:
- name: Building tars
run: make -C dist/tarball
- name: Uploading balls
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tarball
path: dist/tarball/r2ghidra-*
Expand All @@ -99,7 +99,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Installing radare2
# run: ( git clone --depth=1 --branch "${R2V}" https://github.com/radareorg/radare2 && cd radare2 && sys/sanitize.sh --install /usr )
run: ( git clone --depth=1 --branch "${R2V}" https://github.com/radareorg/radare2 && cd radare2 && sys/install.sh --install )
Expand All @@ -116,7 +116,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Downloading Radare2 Debian packages
run: |
wget -O r2.deb https://github.com/radareorg/radare2/releases/download/${{env.R2V}}/radare2_${{env.R2V}}_amd64.deb
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Cloning Radare2 git repository
run: git clone --depth=1 --branch "${R2V}" https://github.com/radareorg/radare2
- name: Building Radare2 pkg for macOS
Expand All @@ -163,7 +163,7 @@ jobs:
r2 -qc 'af;pdg' test/bins/rec | tee a.txt
grep csu_init a.txt
- name: Uploading artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: macos-pkg
path: dist/macos/*.zip
Expand All @@ -172,7 +172,7 @@ jobs:
w64:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v1
with:
python-version: 3.7.x
Expand All @@ -197,7 +197,7 @@ jobs:
call preconfigure.bat
call configure.bat
call make.bat
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: w64
path: destdir/r2ghidra-w64.zip
Expand All @@ -214,7 +214,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Download all git history and tags
- name: Check if is a release
Expand All @@ -227,7 +227,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # Download all git history and tags
- name: Extract r2g version
Expand All @@ -236,7 +236,7 @@ jobs:
- name: Prepare release notes
run: echo Release > ./RELEASE_NOTES.md
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: dist/artifacts
- name: Create GitHub release
Expand Down

0 comments on commit 15a3691

Please sign in to comment.