From 1163cfe22e870255838ea8d6c293e16148e0867d Mon Sep 17 00:00:00 2001 From: Radiicall Date: Tue, 5 Mar 2024 10:21:54 +0100 Subject: [PATCH] Bad idea --- .github/workflows/release.yml | 40 ----------------------------------- Cargo.lock | 10 ++++----- 2 files changed, 5 insertions(+), 45 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ba455f..29b9d50 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,6 @@ on: jobs: ubuntu: - needs: crates-io runs-on: ubuntu-latest steps: @@ -55,7 +54,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} windows: - needs: crates-io runs-on: windows-latest steps: @@ -100,7 +98,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} macos-x86_64: - needs: crates-io runs-on: macos-latest steps: @@ -150,7 +147,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} macos-arm64: - needs: crates-io runs-on: macos-latest steps: @@ -192,39 +188,3 @@ jobs: target/aarch64-apple-darwin/release/jellyfin-rpc-arm64-darwin env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - crates-io: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install latest rust toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - default: true - override: true - - - name: Cache target folder - uses: actions/cache@v3 - env: - cache-name: target-folder - with: - path: target - key: x86_64-linux-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - x86_64-linux- - - - name: Release Jellyfin-RPC - working-directory: ./jellyfin-rpc - run: cargo publish --token ${CRATES_TOKEN} - env: - CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} - - - name: Release Jellyfin-RPC-cli - working-directory: ./jellyfin-rpc-cli - run: cargo publish --token ${CRATES_TOKEN} - env: - CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 154cea6..25f6a77 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -477,7 +477,7 @@ checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "jellyfin-rpc" -version = "1.0.0" +version = "1.0.2" dependencies = [ "async-recursion", "colored", @@ -491,9 +491,9 @@ dependencies = [ [[package]] name = "jellyfin-rpc" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b63f7e757e48f45ab6df55631cb10797c8927e04acc571b62927171e6c2f42d" +checksum = "f9160f4e7888ba0c73e1fe8390a9e5388bfa5e9bfabbbc2b499e7e877eb35ca7" dependencies = [ "async-recursion", "colored", @@ -507,12 +507,12 @@ dependencies = [ [[package]] name = "jellyfin-rpc-cli" -version = "1.0.0" +version = "1.0.2" dependencies = [ "clap", "colored", "discord-rich-presence", - "jellyfin-rpc 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "jellyfin-rpc 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "reqwest", "retry", "tokio",