File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 93
93
let $arch = '${{ matrix.target }}' | split row '-' | first
94
94
let $arch = if $arch == 'i686' { 'x86' } else { $arch }
95
95
echo $'ARCH=($arch)' | save $env.GITHUB_ENV --append
96
- with-env { ARCH: $arch } {
97
- echo $'($env.ARCH)'
98
- let output = glob $'target/${{ matrix.target }}/release/build/**/($env.ARCH)_bindgen.rs' | first
99
- cp $output $'src/ffi/($env.ARCH)_bindgen.rs'
100
- echo $'Moved ($output) to src/ffi/($env.ARCH)_bindgen.rs'
101
- }
96
+ let output = glob target/${{ matrix.target }}/release/build/**/$($arch)_bindgen.rs | first
97
+ cp $output $'src/ffi/($env.ARCH)_bindgen.rs'
98
+ echo $'Moved ($output) to src/ffi/($env.ARCH)_bindgen.rs'
102
99
103
100
- name : Upload generated file as artifact
104
101
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments