From abf40591fc62ba8404670809dcaf82b82c6e84a8 Mon Sep 17 00:00:00 2001 From: Lachezar Lechev Date: Fri, 5 Jan 2024 10:36:23 +0200 Subject: [PATCH] fix: CI for build and publish Signed-off-by: Lachezar Lechev --- .github/workflows/build.yml | 2 +- .github/workflows/publish.yml | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d704a34..b3c183d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,6 @@ jobs: - name: Install NPM dependencies run: npm ci - name: Build v1 and generate v1 index.json - run: npm run --workspace official-addons build + run: npm run --workspace stremio-official-addons build - name: Build v2 run: npm run --workspace official-addons-v2 build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c7ca142..b586c78 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,13 +21,9 @@ jobs: # - name: Install NPM dependencies # run: npm ci # - name: Publish to NPM - # run: npm publish --workspace official-addons --access public + # run: npm publish --workspace stremio-official-addons --access public # env: # NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} - # - name: Publish to crates.io - # run: cargo publish --workspace official-addons --allow-dirty --token "$CARGO_AUTH_TOKEN" - # env: - # CARGO_AUTH_TOKEN: ${{ secrets.CRATES_IO_PUBLISH_TOKEN }} publish-v2: if: ${{ startsWith(github.event.release.tag_name, 'v2') }} @@ -52,6 +48,6 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} - name: Publish to crates.io - run: cargo publish --workspace official-addons-v2 --allow-dirty --token "$CARGO_AUTH_TOKEN" + run: cargo publish -p stremio-official-addons --allow-dirty --token "$CARGO_AUTH_TOKEN" env: CARGO_AUTH_TOKEN: ${{ secrets.CRATES_IO_PUBLISH_TOKEN }}