Skip to content

Commit

Permalink
use typescript action
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Oct 18, 2024
1 parent c33eed0 commit 56aa379
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ jobs:
run: |
cd mod && hemtt dev
- name: Install Arma 3 Tools
if: startsWith(matrix.os.runner, 'windows')
uses: arma-actions/arma3-tools@python
uses: arma-actions/arma3-tools@typescript
with:
toolsUrl: ${{ secrets.ARMA3_TOOLS_URL }}
- name: Install Wine
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ byteorder = "1.5.0"
chumsky = "0.9.3"
clap = "4.5.20"
codespan-reporting = { version = "0.11.1", features = ["serialization"] }
dirs = "5.0.1"
git2 = "0.19.0"
indexmap = "2.6.0"
linkme = "0.3.28"
Expand Down
1 change: 1 addition & 0 deletions bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ hemtt-workspace = { path = "../libs/workspace", version = "1.0.0" }
arma3-wiki = { workspace = true }
clap = { workspace = true }
dialoguer = "0.11.0"
dirs = { workspace = true }
fs_extra = "1.3.0"
git2 = { workspace = true }
glob = "0.3.1"
Expand Down
2 changes: 1 addition & 1 deletion bin/src/modules/binarize/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl Module for Binarize {

let mut report = Report::new();
let tools_path = {
let default = PathBuf::from("~/.local/share/arma3tools");
let default = dirs::home_dir().expect("home directory exists").join(".local/share/arma3tools");
if let Ok(path) = std::env::var("HEMTT_BI_TOOLS") {
PathBuf::from(path)
} else {
Expand Down
2 changes: 1 addition & 1 deletion libs/workspace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ hemtt-pbo = { path = "../pbo", version = "1.0.0" }

ansi_term = "0.12.1"
codespan-reporting = { workspace = true }
dirs = "5.0.1"
dirs = { workspace = true }
serde = { workspace = true }
terminal-link = { workspace = true }
toml = { workspace = true }
Expand Down

0 comments on commit 56aa379

Please sign in to comment.