Skip to content

Commit

Permalink
Merge pull request #224 from hyperledger/dependabot/github_actions/al…
Browse files Browse the repository at this point in the history
…l-actions-8e99cb8518

build(deps): bump the all-actions group with 7 updates
  • Loading branch information
andrewwhitehead authored Feb 16, 2024
2 parents 80d6a80 + 0fba5dd commit 4ac4a9f
Showing 1 changed file with 28 additions and 25 deletions.
53 changes: 28 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
actions: write

on:
push:
branches: [main]
Expand Down Expand Up @@ -45,7 +48,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
Expand Down Expand Up @@ -81,7 +84,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
Expand Down Expand Up @@ -146,7 +149,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
Expand Down Expand Up @@ -177,7 +180,7 @@ jobs:
fi
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: library-${{ matrix.architecture }}
path: target/${{ matrix.target }}/release/${{ matrix.lib }}
Expand All @@ -190,7 +193,7 @@ jobs:
mkdir release-artifacts
cp target/${{ matrix.target }}/release/${{ matrix.lib }} release-artifacts/
- uses: a7ul/tar-action@v1.1.2
- uses: a7ul/tar-action@v1.1.3
if: |
github.event_name == 'release' ||
(github.event_name == 'workflow_dispatch' && github.event.inputs.publish-binaries == 'true')
Expand Down Expand Up @@ -236,10 +239,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -249,7 +252,7 @@ jobs:
pip install setuptools wheel twine auditwheel
- name: Fetch library artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: library-${{ matrix.architecture }}
path: wrappers/python/aries_askar/
Expand Down Expand Up @@ -316,15 +319,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.JS 18.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.x

- name: Fetch library artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: library-linux-x86_64

Expand Down Expand Up @@ -379,7 +382,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
Expand All @@ -392,7 +395,7 @@ jobs:
cargo build --lib --release --target ${{matrix.target}}
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: library-${{ matrix.target }}
path: target/${{ matrix.target }}/release/libaries_askar.a
Expand All @@ -417,7 +420,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
Expand All @@ -441,7 +444,7 @@ jobs:
cross build --lib --release --target ${{matrix.target}}
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: library-${{ matrix.target }}
path: target/${{ matrix.target }}/release/libaries_askar.so
Expand All @@ -453,10 +456,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Fetch static libraries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- run: >
./build-xcframework.sh library-aarch64-apple-ios \
Expand All @@ -465,12 +468,12 @@ jobs:
include
- name: Save xcframework
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: aries_askar.xcframework
path: ./out

- uses: geekyeggo/delete-artifact@v2
- uses: geekyeggo/delete-artifact@v4
with:
name: |
library-aarch64-apple-ios
Expand All @@ -484,7 +487,7 @@ jobs:
needs: [build-android]
steps:
- name: Fetch libraries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- run: |
sudo mkdir ./libs
Expand All @@ -494,12 +497,12 @@ jobs:
sudo mv library-x86_64-linux-android ./libs/x86_64
- name: Save Android library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: android-libraries
path: ./libs

- uses: geekyeggo/delete-artifact@v2
- uses: geekyeggo/delete-artifact@v4
with:
name: |
library-aarch64-linux-android
Expand All @@ -521,18 +524,18 @@ jobs:
steps:
- name: Fetch Android libraries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: android-libraries
path: mobile/android/

- name: Fetch iOS Framework
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: aries_askar.xcframework
path: mobile/ios/

- uses: a7ul/tar-action@v1.1.2
- uses: a7ul/tar-action@v1.1.3
with:
command: c
files: ./mobile
Expand Down

0 comments on commit 4ac4a9f

Please sign in to comment.