fix(Timer2): improve timer header formatting for small layouts #654
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Releases | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| - '[0-9]+.[0-9]+' | |
| tags: | |
| - v* | |
| paths-ignore: | |
| - "**/README.md" | |
| pull_request: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - "**/README.md" | |
| workflow_dispatch: | |
| jobs: | |
| build-artifact: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Generate ZIPs | |
| run: | | |
| chmod +x generate.sh | |
| ./generate.sh | |
| - name: Upload a Build Artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: sdcard-latest | |
| path: | | |
| dist/* | |
| sdcard.json | |
| upload-release: | |
| if: github.event_name != 'pull_request' | |
| needs: build-artifact | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/download-artifact@v8 | |
| with: | |
| name: sdcard-latest | |
| path: . | |
| - name: Update latest tag | |
| if: github.ref == 'refs/heads/master' | |
| run: | | |
| git tag -f latest | |
| git push -f origin latest | |
| - name: Delete previous latest release | |
| if: github.ref == 'refs/heads/master' | |
| run: gh release delete latest --yes || true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Deploy latest prerelease | |
| if: github.ref == 'refs/heads/master' | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: latest | |
| target_commitish: ${{ github.sha }} | |
| prerelease: true | |
| name: Latest | |
| generate_release_notes: true | |
| files: | | |
| dist/* | |
| sdcard.json | |
| - name: Auto Create Draft Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.event.ref, 'refs/tags/v') | |
| with: | |
| tag_name: ${{ github.ref_name }} | |
| draft: true | |
| prerelease: false | |
| generate_release_notes: true | |
| files: | | |
| dist/* | |
| sdcard.json |