Build images for main branch
This commit is contained in:
4
.github/workflows/esp32c3-arduino.yaml
vendored
4
.github/workflows/esp32c3-arduino.yaml
vendored
@@ -3,6 +3,8 @@ name: esp32c3-arduino
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
|
||||
@@ -48,6 +50,7 @@ jobs:
|
||||
firmware/esp32c3-arduino
|
||||
|
||||
- name: Create Release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
@@ -59,6 +62,7 @@ jobs:
|
||||
prerelease: false
|
||||
|
||||
- name: Upload Release Asset
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user