File tree Expand file tree Collapse file tree 5 files changed +8046
-8026
lines changed Expand file tree Collapse file tree 5 files changed +8046
-8026
lines changed Original file line number Diff line number Diff line change 1111 contents : write
1212 strategy :
1313 matrix :
14- node-version : [16 .x]
14+ node-version : [18 .x]
1515 steps :
1616 - uses : actions/checkout@v4
1717 with :
3737 makecode
3838 - name : copy files
3939 run : |
40- cp ./built/binary.js ./assets/js/binary.js
41- cp ./built/n3/binary.hex ./assets/microcode.hex
40+ cp ./built/binary.hex ./assets/microcode.hex
4241 - name : upload modified assets
4342 uses : stefanzweifel/git-auto-commit-action@v4
4443 with :
45- file_pattern : " assets/* _includes/* "
44+ file_pattern : " assets/*"
4645 branch : main
Original file line number Diff line number Diff line change 3737 - name : build hex file
3838 run : |
3939 makecode
40- - name : copy files
41- run : |
42- cp ./built/binary.hex ./assets/microcode.hex
43- - name : upload modified assets
44- uses : stefanzweifel/git-auto-commit-action@v4
45- with :
46- file_pattern : " assets/*"
47- branch : main
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ namespace microcode {
2626 function jacdacImages ( name : string | number ) {
2727 if ( name == Tid . TID_FILTER_KITA_KEY_1 ) return icondb . kita_key_1
2828 if ( name == Tid . TID_FILTER_KITA_KEY_2 ) return icondb . kita_key_2
29- if ( name == Tid . TID_SENSOR_MAGNET ) return icondb . magnet
3029 if ( name == Tid . TID_SENSOR_SLIDER ) return icondb . kita_slider
3130 if ( name == Tid . TID_SENSOR_ROTARY ) return icondb . kita_rotary
3231 if ( name == Tid . TID_FILTER_ROTARY_LEFT ) return icondb . kita_rotary_left
@@ -125,7 +124,7 @@ namespace microcode {
125124 if ( name == Tid . TID_MODIFIER_LOOP ) return icondb . loop
126125
127126 // variables
128-
127+ if ( name == Tid . TID_SENSOR_MAGNET ) return icondb . magnet
129128 if ( name == Tid . TID_SENSOR_CUP_X_WRITTEN ) return icondb . cupXwritten
130129 if ( name == Tid . TID_SENSOR_CUP_Y_WRITTEN ) return icondb . cupYwritten
131130 if ( name == Tid . TID_SENSOR_CUP_Z_WRITTEN ) return icondb . cupZwritten
You can’t perform that action at this time.
0 commit comments