File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,26 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
outputs :
12
12
lxl : ${{ steps.version.outputs.lxl }}
13
+ keymap : ${{ steps.version.outputs.keymap }}
14
+ keymap_macos : ${{ steps.version.outputs.keymap_macos }}
13
15
steps :
14
16
15
- - name : Get Lite XL version
17
+ - name : Checkout
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Get versions
16
21
id : version
17
22
env :
18
23
GH_TOKEN : ${{ github.token }}
19
- run : echo "lxl=$(gh -R lite-xl/lite-xl release list --exclude-drafts --exclude-pre-releases --limit 1 --json tagName --jq .[].tagName)" >> "$GITHUB_OUTPUT"
24
+ run : |
25
+ echo "lxl=$(gh -R lite-xl/lite-xl release list --exclude-drafts --exclude-pre-releases --limit 1 --json tagName --jq .[].tagName)" >> "$GITHUB_OUTPUT"
26
+ echo "keymap=$(jq .version docs/assets/keymap.json)" >> "$GITHUB_OUTPUT"
27
+ echo "keymap_macos=$(jq .version docs/assets/keymap-macos.json)" >> "$GITHUB_OUTPUT"
20
28
21
29
generate_keymap :
22
30
uses : ./.github/workflows/generate_keymap.yml
23
31
needs : version
32
+ if : needs.version.outputs.lxl != needs.version.outputs.keymap || needs.version.outputs.lxl != needs.version.outputs.keymap_macos
24
33
secrets : inherit
25
34
permissions :
26
35
contents : write
You can’t perform that action at this time.
0 commit comments