From 9f98a5ab859b29b337b79cb0bf60cb19e49fd2e3 Mon Sep 17 00:00:00 2001 From: Antonio Cheong Date: Sat, 17 Aug 2024 23:29:40 +0800 Subject: [PATCH] bump action deps - remove unmaintained rust thingy --- .github/workflows/build.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fad2036..3400ee7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,13 +15,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true + uses: dtolnay/rust-toolchain@stable - name: Build run: cargo build --release --features ${{ matrix.feature }} @@ -39,7 +36,7 @@ jobs: cp target/release/libtiktoken_core.$EXT artifacts/tiktoken_core-$OS-${{ matrix.feature }}.$EXT - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: tiktoken_core-${{ matrix.os }}-${{ matrix.feature }} path: artifacts/tiktoken_core-*.${{ matrix.os == 'ubuntu-latest' && 'so' || 'dylib' }}