Skip to content

Commit 3d7f2b7

Browse files
committed
Replace some git dependencies with cargo registry
1 parent fe886f8 commit 3d7f2b7

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/build.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ jobs:
268268
name: Check package versions
269269
if: startsWith(github.ref, 'refs/tags/')
270270
runs-on: ubuntu-latest
271-
needs: [ build-cli, build-gui ]
271+
needs: [ build-cli, build-gui, build-wasm ]
272272
steps:
273273
- name: Checkout
274274
uses: actions/checkout@v4
@@ -334,7 +334,7 @@ jobs:
334334

335335
release-cargo:
336336
name: Release (Cargo)
337-
if: startsWith(github.ref, 'refs/tags/')
337+
if: 'false' # TODO re-enable when all dependencies are published
338338
runs-on: ubuntu-latest
339339
needs: [ check-version ]
340340
steps:
@@ -345,7 +345,7 @@ jobs:
345345
- name: Publish
346346
env:
347347
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
348-
run: cargo publish -p objdiff-core --dry-run
348+
run: cargo publish -p objdiff-core
349349

350350
release-npm:
351351
name: Release (npm)
@@ -380,4 +380,4 @@ jobs:
380380
;;
381381
esac
382382
echo "Publishing version $version with tag '$tag'..."
383-
npm publish --provenance --access public --tag "$tag" --dry-run
383+
npm publish --provenance --access public --tag "$tag"

Cargo.lock

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

objdiff-core/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ gimli = { version = "0.31", default-features = false, features = ["read"], optio
140140

141141
# ppc
142142
cwdemangle = { version = "1.0", optional = true }
143-
cwextab = { version = "1.0", optional = true, git = "https://github.com/CelestialAmber/cwextab.git" }
143+
cwextab = { version = "1.0", optional = true }
144144
ppc750cl = { version = "0.3", optional = true }
145-
rlwinmdec = { version = "1.1", optional = true, git = "https://github.com/CelestialAmber/rlwinmdec.git" }
145+
rlwinmdec = { version = "1.1", optional = true }
146146

147147
# mips
148148
rabbitizer = { git = "https://github.com/Decompollaborate/rabbitizer.git", branch = "🦀", default-features = false, features = ["all_extensions"], optional = true }

objdiff-gui/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ png = "0.17"
4242
pollster = "0.4"
4343
regex = "1.11"
4444
rfd = { version = "0.15" } #, default-features = false, features = ['xdg-portal']
45-
rlwinmdec = { version = "1.0", git = "https://github.com/CelestialAmber/rlwinmdec.git" }
45+
rlwinmdec = "1.1"
4646
ron = "0.8"
4747
serde = { version = "1.0", features = ["derive"] }
4848
time = { version = "0.3", features = ["formatting", "local-offset"] }

0 commit comments

Comments
 (0)