mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 13:16:45 +00:00
Update release workflow
This commit is contained in:
parent
d6f3b52911
commit
1f01ece609
27
.github/workflows/build.yaml
vendored
27
.github/workflows/build.yaml
vendored
@ -102,34 +102,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ matrix.environment.out }}
|
name: ${{ matrix.environment.out }}
|
||||||
path: build_output/firmware/*.*n
|
path: build_output/firmware/*.*n
|
||||||
- name: Create release and upload firmware
|
- name: On Release, upload assets to that Release
|
||||||
uses: AButler/upload-release-assets@v3.0
|
uses: AButler/upload-release-assets@v3.0
|
||||||
with:
|
with:
|
||||||
files: "build_output/firmware/*.bin"
|
files: "build_output/firmware/*.bin"
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# - name: Create release and upload firmware
|
|
||||||
# if: github.ref != 'refs/heads/master'
|
|
||||||
# run: |
|
|
||||||
# set -x
|
|
||||||
# assets=()
|
|
||||||
# for asset in build_output/firmware/*.bin; do
|
|
||||||
# assets+=("-a" "$asset")
|
|
||||||
# done
|
|
||||||
# tag_name="${GITHUB_REF##*/}"
|
|
||||||
# hub release edit "${assets[@]}" -m "$tag_name" "$tag_name"
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
#- name: Create release and upload firmware
|
|
||||||
# run: |
|
|
||||||
# set -x
|
|
||||||
# assets=()
|
|
||||||
# for asset in build_output/firmware/*.bin; do
|
|
||||||
# assets+=("-a" "$asset")
|
|
||||||
# done
|
|
||||||
# tag_name="${GITHUB_REF##*/}"
|
|
||||||
# hub release create "${assets[@]}" -m "$tag_name" "$tag_name"
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
linux_build:
|
linux_build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user