Skip to content

Commit

Permalink
Bad idea
Browse files Browse the repository at this point in the history
  • Loading branch information
Radiicall committed Mar 5, 2024
1 parent cf2b39d commit 1163cfe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 45 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

jobs:
ubuntu:
needs: crates-io
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -55,7 +54,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

windows:
needs: crates-io
runs-on: windows-latest

steps:
Expand Down Expand Up @@ -100,7 +98,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

macos-x86_64:
needs: crates-io
runs-on: macos-latest

steps:
Expand Down Expand Up @@ -150,7 +147,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

macos-arm64:
needs: crates-io
runs-on: macos-latest

steps:
Expand Down Expand Up @@ -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 }}
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1163cfe

Please sign in to comment.