Skip to content

Commit

Permalink
Update official GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjseitz committed Mar 29, 2024
1 parent cb78a00 commit 7bae8ce
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
export IMAGE_PATH=$(echo ghcr.io/${{ github.repository }}/ | awk '{print tolower($0)}')
echo "image_path=$IMAGE_PATH" >> $GITHUB_ENV
echo "image_path=$IMAGE_PATH" >> $GITHUB_OUTPUT
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Kaniko build
uses: aevea/action-kaniko@v0.12.0
with:
Expand Down Expand Up @@ -65,15 +65,15 @@ jobs:
apt-get update
apt-get -y install libcapstone-dev=1:5.0.0-gtdev libgtirb libgtirb-dev libgtirb-pprinter libgtirb-pprinter-dev gtirb-pprinter
- name: Checkout ddisasm
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DLIEF_ROOT=/usr/ ..
make
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ddisasm-build-${{ matrix.os }}-${{ matrix.compiler }}
path: build
Expand All @@ -90,7 +90,7 @@ jobs:
steps:
# Checkout
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# Install deps
- name: Install capstone, gtirb, gtirb-pprinter
run: |
Expand All @@ -102,7 +102,7 @@ jobs:
pip3 install -r requirements-dev.txt
# Download artifacts
- name: Download build artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ddisasm-build-${{ matrix.os }}-${{ matrix.compiler }}
path: build
Expand All @@ -118,14 +118,14 @@ jobs:
container: ${{ needs.docker.outputs.image_path }}focal:${{ needs.docker.outputs.image_tag }}
steps:
- name: Checkout ddisasm
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Generate API documentation
run: |
cd doc
pip3 install -r requirements-docs.txt
BUILDDIR=../public make -e
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1.0.8
uses: actions/upload-pages-artifact@v3
with:
path: public

Expand All @@ -144,4 +144,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit 7bae8ce

Please sign in to comment.