File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - name : Checkout
11- uses : actions/checkout@v1
11+ uses : actions/checkout@v3
1212 with :
1313 submodules : true
1414 - name : Check Syntax
2323 cargo install cargo-binutils
2424 - name : Build
2525 run : ./build.sh
26- - name : Get Branch Name
27- if : github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
28- id : branch_name
29- run : |
30- echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
31- - name : Create Release
32- if : github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
33- id : create_release
34- uses : actions/create-release@v1
35- env :
36- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37- with :
38- tag_name : ${{ github.ref }}
39- release_name : Release ${{ steps.branch_name.outputs.SOURCE_TAG }}
40- draft : false
41- prerelease : false
42-
4326 - name : Upload files to Release
4427 if : github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
4528 uses : softprops/action-gh-release@v1
6447 ./release/thumbv7m-none-eabi-flash1002-libneotron_os.bin
6548 ./release/thumbv7m-none-eabi-flash1002-libneotron_os.elf
6649 ./release/x86_64-unknown-linux-gnu-libneotron_os.so
67- env :
68- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments