apt update before install
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
- run: sudo apt-get install ${{ env.APT_PACKAGES }}
|
- run: apt update && apt install ${{ env.APT_PACKAGES }}
|
||||||
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
|
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
|
||||||
- run: cargo check --target "${{ env.TARGET_PLATFORM }}"
|
- run: cargo check --target "${{ env.TARGET_PLATFORM }}"
|
||||||
build:
|
build:
|
||||||
@@ -22,6 +22,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
- run: sudo apt-get install ${{ env.APT_PACKAGES }}
|
- run: apt update && apt install ${{ env.APT_PACKAGES }}
|
||||||
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
|
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
|
||||||
- run: cargo build --target "${{ env.TARGET_PLATFORM }}
|
- run: cargo build --target "${{ env.TARGET_PLATFORM }}
|
||||||
Reference in New Issue
Block a user