Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsauf authored Apr 15, 2021
1 parent 98c9db3 commit 76722fa
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: Pack and Publish
name: Publish

# Controls when the action will run.
on:
Expand All @@ -10,14 +10,10 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
puglish:
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job

steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -54,7 +50,10 @@ jobs:
include: 'library.json'

- name: Set Platform IO Login Token
run: echo " PLATFORMIO_AUTH_TOKEN=${{ secrets.PLATFORMIO_TOKEN }}" >> $GITHUB_ENV
run: echo "PLATFORMIO_AUTH_TOKEN=${{ secrets.PLATFORMIO_TOKEN }}" >> $GITHUB_ENV

- name: Login
run: pio account login

- name: Publish Package
run: pio package publish --owner ${{ secrets.PLATFORMIO_USERNAME }} --notify

0 comments on commit 76722fa

Please sign in to comment.