Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RE3CON authored Dec 18, 2023
1 parent 6623e35 commit c6fdeb5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: 'release'
name: 'upstream release'
on:
push:
branches: [ "release" ]
branches: [ "upstream" ]
pull_request:
branches: [ "release" ]
branches: [ "upstream" ]

release:
types:
Expand Down Expand Up @@ -56,14 +56,14 @@ jobs:
with:
file: firmware.bin
asset_name: ${{ format('firmware_raw_0.{0}.bin', github.run_number) }}
tag: ${{ format('release-{0}', github.run_number) }}
tag: ${{ format('upstream release-{0}', github.run_number) }}
release_name: ${{ format('Build 0.{0}, {1}', github.run_number, steps.date.outputs.date) }}

- name: 'Add packed FW to release'
uses: svenstaro/upload-release-action@v2
with:
file: firmware_packed${{ github.event.release.tag_name }}.bin
asset_name: ${{ format('firmware_packed_0.{0}.bin', github.run_number) }}
tag: ${{ format('release-{0}', github.run_number) }}
tag: ${{ format('upstream release-{0}', github.run_number) }}
release_name: ${{ format('Build 0.{0}, {1}', github.run_number, steps.date.outputs.date) }}

0 comments on commit c6fdeb5

Please sign in to comment.