diff --git a/.github/workflows/platformio_publish_template.yml b/.github/workflows/platformio_publish_template.yml index b1ed074..ae9b994 100644 --- a/.github/workflows/platformio_publish_template.yml +++ b/.github/workflows/platformio_publish_template.yml @@ -58,7 +58,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: pio-library-archive - path: /*.tar.gz + path: ./*.tar.gz retention-days: 2 - name: Login into PlatformIO if: ${{ inputs.should-publish }} diff --git a/.github/workflows/platformio_workflow.yml b/.github/workflows/platformio_workflow.yml index 148ae61..2559031 100644 --- a/.github/workflows/platformio_workflow.yml +++ b/.github/workflows/platformio_workflow.yml @@ -31,7 +31,7 @@ jobs: PlatformIO-Publish: uses: ./.github/workflows/platformio_publish_template.yml - if: ${{ (github.ref_type == 'tag') && (github.ref_name == 'master') }} + if: github.ref_type == 'tag' needs: PlatformIO-Build with: should-publish: true