Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c5e6d21960 | |||
| d070244334 |
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:
|
||||
|
||||
4
.github/workflows/esp8266-arduino.yaml
vendored
4
.github/workflows/esp8266-arduino.yaml
vendored
@@ -3,6 +3,8 @@ name: esp8266-arduino
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
|
||||
@@ -47,6 +49,7 @@ jobs:
|
||||
firmware/esp8266
|
||||
|
||||
- name: Create Release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
@@ -58,6 +61,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:
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
branch:
|
||||
- main
|
||||
|
||||
skip_clone: true
|
||||
steps:
|
||||
@@ -21,6 +24,9 @@ steps:
|
||||
- name: release
|
||||
image: woodpeckerci/plugin-release:0.2.6
|
||||
backend_options: *backend_options
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: gitea_release_token
|
||||
|
||||
Reference in New Issue
Block a user