Skip to content

Commit

Permalink
refactor: Change release action and keep version
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthbdn committed Oct 10, 2024
1 parent 21926bb commit 9513ae0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/generate_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,17 @@ jobs:
run: |
python tools/progen_compile.py -t make_gcc_arm --clean --parallel stm32f103xb_steami32_if
- name: Set environment variable
run: echo "RELEASE_NAME=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: Generate Release
uses: "marvinpinto/action-automatic-releases@latest"
uses: softprops/action-gh-release@v2
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
name: ${{ env.RELEASE_NAME }}
tag_name: ${{ env.RELEASE_NAME }}
prerelease: false
automatic_release_tag: "lastest"
make_latest: true
files: |
projectfiles/make_gcc_arm/stm32f103xb_bl/build/stm32f103xb_bl.bin
projectfiles/make_gcc_arm/stm32f103xb_bl/build/stm32f103xb_bl_crc.bin
Expand Down

0 comments on commit 9513ae0

Please sign in to comment.