Merge pull request #316 from meshtastic/final-ci-fix

update Relase CI
This commit is contained in:
Ben Meadors 2023-02-11 07:04:32 -06:00 committed by GitHub
commit 33c8cf16f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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