name: ESP32 Arduino Release on: release: types: published jobs: build: name: Publish Release runs-on: ubuntu-latest steps: - uses: actions/checkout@master with: fetch-depth: 0 - uses: actions/setup-python@v1 with: python-version: '3.x' - name: Build Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: bash ./.github/scripts/on-release.sh