on: push: branches: - master jobs: environment: name: Publish imgtool releases runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - name: Install publishing packages run: | export PATH="$HOME/.local/bin:$PATH" ./ci/imgtool_install.sh - name: Publish imgtool env: TWINE_TOKEN: ${{ secrets.TWINE_TOKEN }} run: | export PATH="$HOME/.local/bin:$PATH" ./ci/imgtool_run.sh