Replace some git dependencies with cargo registry

This commit is contained in:
2025-04-01 22:56:16 -06:00
parent fe886f862d
commit 3d7f2b70dc
4 changed files with 11 additions and 9 deletions

View File

@@ -268,7 +268,7 @@ jobs:
name: Check package versions
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: [ build-cli, build-gui ]
needs: [ build-cli, build-gui, build-wasm ]
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -334,7 +334,7 @@ jobs:
release-cargo:
name: Release (Cargo)
if: startsWith(github.ref, 'refs/tags/')
if: 'false' # TODO re-enable when all dependencies are published
runs-on: ubuntu-latest
needs: [ check-version ]
steps:
@@ -345,7 +345,7 @@ jobs:
- name: Publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish -p objdiff-core --dry-run
run: cargo publish -p objdiff-core
release-npm:
name: Release (npm)
@@ -380,4 +380,4 @@ jobs:
;;
esac
echo "Publishing version $version with tag '$tag'..."
npm publish --provenance --access public --tag "$tag" --dry-run
npm publish --provenance --access public --tag "$tag"