|
@@ -88,7 +88,7 @@ jobs:
|
|
|
if: env.CARGO_PROFILE != 'debug'
|
|
|
|
|
|
- run: chmod +x ~/.cargo/bin/anchor
|
|
|
- - uses: actions/upload-artifact@v3
|
|
|
+ - uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
name: ${{ env.ANCHOR_BINARY_NAME }}
|
|
|
path: ~/.cargo/bin/anchor
|
|
@@ -102,7 +102,7 @@ jobs:
|
|
|
timeout-minutes: 30
|
|
|
steps:
|
|
|
- uses: actions/checkout@v3
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: ${{ env.ANCHOR_BINARY_NAME }}
|
|
|
path: ~/.cargo/bin/
|
|
@@ -179,14 +179,14 @@ jobs:
|
|
|
- uses: ./.github/actions/setup/
|
|
|
- uses: ./.github/actions/setup-solana/
|
|
|
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: ${{ env.ANCHOR_BINARY_NAME }}
|
|
|
path: ~/.cargo/bin/
|
|
|
- run: chmod +rwx ~/.cargo/bin/anchor
|
|
|
|
|
|
- run: cd ${{ matrix.node.path }} && anchor build --skip-lint
|
|
|
- - uses: actions/upload-artifact@v3
|
|
|
+ - uses: actions/upload-artifact@v4
|
|
|
with:
|
|
|
name: ${{ matrix.node.name }}
|
|
|
path: ${{ matrix.node.path }}target/deploy/${{ matrix.node.name }}
|
|
@@ -202,29 +202,29 @@ jobs:
|
|
|
- uses: ./.github/actions/setup/
|
|
|
- uses: ./.github/actions/setup-ts/
|
|
|
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: ${{ env.ANCHOR_BINARY_NAME }}
|
|
|
path: ~/.cargo/bin/
|
|
|
- run: chmod +x ~/.cargo/bin/anchor
|
|
|
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: optional.so
|
|
|
path: tests/optional/target/deploy/
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: events.so
|
|
|
path: tests/events/target/deploy/
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: basic_4.so
|
|
|
path: examples/tutorial/basic-4/target/deploy/
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: basic_2.so
|
|
|
path: examples/tutorial/basic-2/target/deploy/
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: composite.so
|
|
|
path: tests/composite/target/deploy/
|
|
@@ -258,7 +258,7 @@ jobs:
|
|
|
path: ${{ env.CARGO_CACHE_PATH }}
|
|
|
key: cargo-${{ runner.os }}-${{ env.CARGO_PROFILE }}-anchor-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: ${{ env.ANCHOR_BINARY_NAME }}
|
|
|
path: ~/.cargo/bin/
|
|
@@ -315,7 +315,7 @@ jobs:
|
|
|
# shell: bash
|
|
|
# - run: solana config set --url localhost
|
|
|
# shell: bash
|
|
|
- # - uses: actions/download-artifact@v3
|
|
|
+ # - uses: actions/download-artifact@v4
|
|
|
# with:
|
|
|
# name: ${{ env.ANCHOR_BINARY_NAME }}
|
|
|
# path: ~/.cargo/bin/
|
|
@@ -355,7 +355,7 @@ jobs:
|
|
|
path: ${{ env.CARGO_CACHE_PATH }}
|
|
|
key: cargo-${{ runner.os }}-${{ env.CARGO_PROFILE }}-anchor-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: ${{ env.ANCHOR_BINARY_NAME }}
|
|
|
path: ~/.cargo/bin/
|
|
@@ -479,7 +479,7 @@ jobs:
|
|
|
path: ${{ env.CARGO_CACHE_PATH }}
|
|
|
key: cargo-${{ runner.os }}-${{ env.CARGO_PROFILE }}-anchor-${{ hashFiles('**/Cargo.lock') }}
|
|
|
|
|
|
- - uses: actions/download-artifact@v3
|
|
|
+ - uses: actions/download-artifact@v4
|
|
|
with:
|
|
|
name: ${{ env.ANCHOR_BINARY_NAME }}
|
|
|
path: ~/.cargo/bin/
|