Skip to content

Commit

Permalink
ci: use --unstable-kv instead of deprecated --unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
MKRhere committed Jan 28, 2024
1 parent 4ff7688 commit d191e3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
with:
deno-version: v1.x
- name: Build for Linux
run: deno compile --target x86_64-unknown-linux-gnu -A --unstable --output telecraft-linux-x86_64 packages/cli/index.ts
run: deno compile --target x86_64-unknown-linux-gnu -A --unstable-kv --output telecraft-linux-x86_64 packages/cli/index.ts
- name: Build for Windows
run: deno compile --target x86_64-pc-windows-msvc -A --unstable --output telecraft-win-x86_64.exe packages/cli/index.ts
run: deno compile --target x86_64-pc-windows-msvc -A --unstable-kv --output telecraft-win-x86_64.exe packages/cli/index.ts
- name: Build for MacOS
run: deno compile --target aarch64-apple-darwin -A --unstable --output telecraft-macos-aarch64 packages/cli/index.ts
run: deno compile --target aarch64-apple-darwin -A --unstable-kv --output telecraft-macos-aarch64 packages/cli/index.ts
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ Pluggable Minecraft and Vintage Story server bridge and administration tools.
## Building

```sh
deno compile -A --unstable --output telecraft packages/cli/index.ts
deno compile -A --unstable-kv --output telecraft packages/cli/index.ts
```

Having child process permission already means telecraft can do everything. This is a required permission because telecraft will spawn your game server. Additionally, telecraft may need to open various files (config, database, network). `-A` grants all permissions, for simplicity.

`--unstable` is required for Deno.Kv store.
`--unstable-kv` is required for Deno.Kv store.

##### TODO: publish builds via CI

Expand Down

0 comments on commit d191e3d

Please sign in to comment.