update Relase CI

pull/316/head
Sacha Weatherstone 2023-02-11 13:31:44 +10:00
rodzic 28136b4757
commit 22594f41df
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7AB2D7E206124B31
1 zmienionych plików z 18 dodań i 7 usunięć

Wyświetl plik

@ -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 }}