File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10-
1110 runs-on : ubuntu-latest
1211 strategy :
13- matrix :
14- BUILD_TARGET : [release] # refers to a cargo profile
12+ matrix :
13+ BUILD_TARGET : [release]
14+
1515 outputs :
1616 release_built : ${{ steps.build.outputs.release_built }}
17+
1718 steps :
18- - uses : actions/checkout@v4
19- - name : Build binaries in "${{ matrix.BUILD_TARGET }}" mode
19+ - uses : actions/checkout@v4
20+
21+ - name : Build binaries in "${{ matrix.BUILD_TARGET }}" mode
22+ id : build
2023 run : cargo build --profile ${{ matrix.BUILD_TARGET }}
21- - name : Run tests in "${{ matrix.BUILD_TARGET }}" mode
24+
25+ - name : Run tests in "${{ matrix.BUILD_TARGET }}" mode
2226 run : cargo test --profile ${{ matrix.BUILD_TARGET }}
23- - name : Upload release artifact
24- -uses : actions/upload-artifact@v4
25- with :
26- name : <my-app>
27- path : target/${{ matrix.BUILD_TARGET }}/<my-app>
2827
29-
30-
28+ - name : Upload release artifact
29+ uses : actions/upload-artifact@v4
30+ with :
31+ name : github-action-test
32+ path : target/${{ matrix.BUILD_TARGET }}/github-action-test
You can’t perform that action at this time.
0 commit comments