Skip to content

Commit

Permalink
Add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthbdn committed Jun 18, 2024
1 parent 7d1c1eb commit cc566e8
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/generate_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Generate Release

on:
push:
branches: [ release_letssteam ]
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"

- name: Install dependencies
run: |
sudo apt --yes install gcc-arm-none-eabi
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Compile stm32f103xb_bl
run: |
python tools/progen_compile.py -t make_gcc_arm --clean --parallel stm32f103xb_bl
- name: Compile stm32f103xb_stm32wb55rg_if
run: |
python tools/progen_compile.py -t make_gcc_arm --clean --parallel stm32f103xb_stm32wb55rg_if
- name: Compile stm32f103xb_stm32l475vg_if
run: |
python tools/progen_compile.py -t make_gcc_arm --clean --parallel stm32f103xb_stm32l475vg_if
- name: Compile stm32f103xb_steami32_if
run: |
python tools/progen_compile.py -t make_gcc_arm --clean --parallel stm32f103xb_steami32_if
- name: Generate Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: "lastest"
files: |
projectfiles/make_gcc_arm/stm32f103xb_bl/build/stm32f103xb_bl.bin
projectfiles/make_gcc_arm/stm32f103xb_bl/build/stm32f103xb_bl_crc.bin
projectfiles/make_gcc_arm/stm32f103xb_bl/build/stm32f103xb_bl_crc.txt
projectfiles/make_gcc_arm/stm32f103xb_stm32wb55rg_if/build/stm32f103xb_stm32wb55rg_if.bin
projectfiles/make_gcc_arm/stm32f103xb_stm32wb55rg_if/build/stm32f103xb_stm32wb55rg_if_crc.bin
projectfiles/make_gcc_arm/stm32f103xb_stm32wb55rg_if/build/stm32f103xb_stm32wb55rg_if_crc.txt
projectfiles/make_gcc_arm/stm32f103xb_stm32l475vg_if/build/stm32f103xb_stm32l475vg_if.bin
projectfiles/make_gcc_arm/stm32f103xb_stm32l475vg_if/build/stm32f103xb_stm32l475vg_if_crc.bin
projectfiles/make_gcc_arm/stm32f103xb_stm32l475vg_if/build/stm32f103xb_stm32l475vg_if_crc.txt
projectfiles/make_gcc_arm/stm32f103xb_steami32_if/build/stm32f103xb_steami32_if.bin
projectfiles/make_gcc_arm/stm32f103xb_steami32_if/build/stm32f103xb_steami32_if_crc.bin
projectfiles/make_gcc_arm/stm32f103xb_steami32_if/build/stm32f103xb_steami32_if_crc.txt

0 comments on commit cc566e8

Please sign in to comment.