Skip to content

Commit

Permalink
fix: dist workspace dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
eredotpkfr committed Dec 2, 2024
1 parent fd6b42c commit aa900a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

name: Release
permissions:
"contents": "write"
contents: write

# This task will run whenever you push a git tag that looks like a version
# like "1.0.0", "v0.1.0-prerelease.1", "my-app/0.1.0", "releases/v1.0.0", etc.
Expand Down Expand Up @@ -117,6 +117,10 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: swatinem/rust-cache@v2
with:
key: ${{ join(matrix.targets, '-') }}
cache-provider: ${{ matrix.cache_provider }}
- name: Install dist
run: ${{ matrix.install_dist }}
# Get the dist-manifest
Expand Down
4 changes: 1 addition & 3 deletions dist-workspace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@ installers = ["shell", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"x86_64-pc-windows-msvc",
]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = false
# Publish jobs to run in CI
# Which actions to run on pull requests
pr-run-mode = "upload"
# Ignore out-of-date contents
allow-dirty = ["ci"]

0 comments on commit aa900a3

Please sign in to comment.