mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
update Relase CI
This commit is contained in:
parent
28136b4757
commit
22594f41df
1 changed files with 18 additions and 7 deletions
25
.github/workflows/create_tag.yml
vendored
25
.github/workflows/create_tag.yml
vendored
|
|
@ -51,11 +51,22 @@ jobs:
|
|||
echo "NEW_VERSION=v$MAJOR.$MINOR.$PATCH" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Create release
|
||||
uses: actions/create-release@v1
|
||||
id: create_release
|
||||
uses: ncipollo/release-action@v1.12.0
|
||||
with:
|
||||
release_name: Meshtastic Protobufs ${{ steps.version.outputs.NEW_VERSION }}
|
||||
tag_name: ${{ steps.version.outputs.NEW_VERSION }}
|
||||
body: Protobufs for version ${{ steps.version.outputs.NEW_VERSION }} release of Meshtastic firmware
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
name: Meshtastic Protobufs ${{ steps.version.outputs.NEW_VERSION }}
|
||||
tag: ${{ steps.version.outputs.NEW_VERSION }}
|
||||
generateReleaseNotes: true
|
||||
token: ${{ github.token }}
|
||||
|
||||
- name: Setup Buf
|
||||
uses: bufbuild/buf-setup-action@v1
|
||||
with:
|
||||
github_token: ${{ github.token }}
|
||||
|
||||
- name: Push to schema registry
|
||||
# uses: bufbuild/buf-push-action@v1
|
||||
# with:
|
||||
# buf_token: ${{ secrets.BUF_TOKEN }}
|
||||
run: |
|
||||
export BUF_TOKEN=${{ secrets.BUF_TOKEN }}
|
||||
buf push --tag ${{ github.ref_name }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue