From 76722fa9f8056aa8c860a2298f428b0fbe18efc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Aufschl=C3=A4ger?= <46407757+nilsauf@users.noreply.github.com> Date: Thu, 15 Apr 2021 20:59:57 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 94608be..5a93f36 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: @@ -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 @@ -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