Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(vcs): JJ #2461

Closedjuliusmarmingewants to merge 9 commits intomain fromt3code/jj-driver-vscopened View on GitHub

Showing 38 changed files with 55 additions and 0 deletions (loading 35).

x
0 of 38 viewed, 38 left
49 additions and 0 deletions.github/actions/setup-jj/action.ymlAdded
View file
@@ -0,0 +1,49 @@
+name: Setup Jujutsu
+description: Install the jj CLI from the official jj-vcs release artifacts.
+​
+inputs:
+ version:
+ description: Jujutsu release tag to install.
+ required: false
+ default: v0.40.0
+​
+runs:
+ using: composite
+ steps:
+ - name: Install jj
+ shell: bash
+ env:
+ JJ_VERSION: ${{ inputs.version }}
+ run: |
+ set -euo pipefail
+​
+ case "${RUNNER_OS}-${RUNNER_ARCH}" in
+ Linux-X64)
+ asset="jj-${JJ_VERSION}-x86_64-unknown-linux-musl.tar.gz"
+ ;;
+ Linux-ARM64)
+ asset="jj-${JJ_VERSION}-aarch64-unknown-linux-musl.tar.gz"
+ ;;
+ macOS-X64)
+ asset="jj-${JJ_VERSION}-x86_64-apple-darwin.tar.gz"
+ ;;
+ macOS-ARM64)