File tree Expand file tree Collapse file tree 4 files changed +57
-3
lines changed
Expand file tree Collapse file tree 4 files changed +57
-3
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ tags :
4+ - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
5+
6+ name : Upload Release
7+
8+ jobs :
9+ build :
10+ name : Upload Release
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v1
15+ with :
16+ submodules : true
17+ - name : Get Branch Name
18+ id : branch_name
19+ run : |
20+ echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
21+ echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
22+ echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
23+ - name : Install GCC ARM
24+ run : sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi
25+ - name : Add Target
26+ run : rustup target add thumbv6m-none-eabi
27+ - name : Build Release
28+ run : cargo build --release --verbose
29+ - name : Create Release
30+ id : create_release
31+ uses : actions/create-release@v1
32+ env :
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ with :
35+ tag_name : ${{ github.ref }}
36+ release_name : Release ${{ steps.branch_name.outputs.SOURCE_TAG }}
37+ draft : false
38+ prerelease : false
39+ - name : Upload files to Release
40+ uses : softprops/action-gh-release@v1
41+ with :
42+ files : |
43+ target/thumbv6m-none-eabi/release/neotron-pico-bios
44+ env :
45+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1212 uses : actions/checkout@v1
1313 with :
1414 submodules : true
15+ - name : Install GCC ARM
16+ run : sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi
1517 - name : Add Target
1618 run : rustup target add thumbv6m-none-eabi
1719 - name : Build
Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ ## Unreleased Changes ([ Source] ( https://github.com/neotron-compute/neotron-pico-bios/tree/master ) | [ Changes] ( https://github.com/neotron-compute/neotron-pico-bios/compare/v0.1.0...master ) )
4+
5+ * None
6+
7+ ## v0.1.0 ([ Source] ( https://github.com/neotron-compute/neotron-pico-bios/tree/v0.1.0 ) | [ Release] ( https://github.com/neotron-compute/neotron-pico-bios/release/tag/v0.1.0 ) )
8+
9+ * First release - it compiles, and blinks an LED.
Original file line number Diff line number Diff line change @@ -37,9 +37,7 @@ updates) for performance reasons.
3737
3838## Changelog
3939
40- ### Unreleased Changes ([ Source] ( https://github.com/neotron-compute/neotron-pico-bios/tree/master ) )
41-
42- * It blinks an LED.
40+ See [ CHANGELOG.md] ( ./CHANGELOG.md )
4341
4442## Licence
4543
You can’t perform that action at this time.
0 commit comments