gha: pltcloud-action: v1.1.4 -> v1.1.5 #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Zephyr Build, Deploy tagged commits | |
on: push | |
jobs: | |
build: | |
name: Zephyr build action | |
runs-on: ubuntu-latest | |
steps: | |
- name: PLTcloud Access Check | |
uses: bcdevices/[email protected] | |
with: | |
API_TOKEN: ${{ secrets.API_TOKEN }} | |
PROJECT_UUID: ${{ secrets.PROJECT_UUID }} | |
VERBOSE: 'true' | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Gen version | |
run: ./GIT-VERSION-GEN | |
- name: build zepyhr | |
uses: ./.github/actions/action-zephyr | |
- name: PLTcloud | |
uses: bcdevices/[email protected] | |
if: contains(github.ref, 'tags') | |
with: | |
API_TOKEN: ${{ secrets.API_TOKEN }} | |
PROJECT_UUID: ${{ secrets.PROJECT_UUID }} | |
FILES: ./dist/*demo* | |
VERSION: ${{ github.ref }} | |
VERBOSE: 'true' | |
- name: Publish release | |
uses: meeDamian/[email protected] | |
if: contains(github.ref, 'tags') | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
files: dist/*demo* | |
gzip: false |