fix(ci): resolve app lint blockers in build workflow #38
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: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| packages: write | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1 | |
| name: Set up mise | |
| with: | |
| cache: true | |
| - run: mise run trust | |
| - name: Compute CalVer | |
| id: calver | |
| run: mise run gha-output-calver | |
| - name: Release Please | |
| id: release-please | |
| uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| target-branch: main | |
| release-type: simple | |
| release-as: ${{ steps.calver.outputs.version }} | |
| - name: Publish release images | |
| if: ${{ steps.release-please.outputs.release_created }} | |
| env: | |
| VERSION: ${{ steps.release-please.outputs.tag_name }} | |
| run: mise run publish |