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 dee59d7 commit 4558e52
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ jobs:
include: 'library.json'

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

- name: Login
run: pio account login -u ${{ secrets.PLATFORMIO_USERNAME }}
# run: echo "PLATFORMIO_AUTH_TOKEN=${{ secrets.PLATFORMIO_TOKEN }}" >> $GITHUB_ENV
uses: myci-actions/export-env-var@1
with:
name: PLATFORMIO_AUTH_TOKEN
value: ${{ secrets.PLATFORMIO_TOKEN }}

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

0 comments on commit 4558e52

Please sign in to comment.