chore(deps): update all dependencies #439
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: Combined CI / Release | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - '**' | |
| jobs: | |
| temporary_security_pin_guard: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v7 | |
| - name: Enforce temporary package pins | |
| uses: mu88/common/.github/actions/check-temporary-package-pins@10f96e34f55796997ce898228c5a4d41b5d3db5e | |
| with: | |
| solution-path: ThisIsYourLife.slnx | |
| shared_ci_cd: | |
| permissions: | |
| attestations: write | |
| contents: read | |
| id-token: write | |
| packages: write | |
| needs: temporary_security_pin_guard | |
| uses: mu88/common/.github/workflows/ci-cd.yml@44f3ad2b75ce56edcbfee4cbcfd6ac0bf356fd0a | |
| with: | |
| docker-attest-provenance-and-sbom: true | |
| docker-publish-project: src/WebApp/WebApp.csproj | |
| requires-docker-login: true | |
| sonar-key: mu88_Project28 | |
| secrets: | |
| sonar-token: ${{ secrets.SONAR_TOKEN }} | |
| ci_cd: | |
| runs-on: ubuntu-latest | |
| needs: shared_ci_cd | |
| permissions: | |
| attestations: write # Needed for build provenance and SBOM attestation | |
| contents: write # Needed to create GitHub Release | |
| id-token: write # Needed for attestations | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v7 | |
| - name: Set up .NET | |
| uses: actions/setup-dotnet@v6 | |
| with: | |
| cache: true | |
| cache-dependency-path: '**/packages.lock.json' | |
| global-json-file: global.json | |
| - name: Build .NET single-file EXE | |
| run: | | |
| dotnet publish src/WebApp/WebApp.csproj \ | |
| --output ${{ runner.temp }}/Release/ \ | |
| --runtime win-x64 \ | |
| --self-contained \ | |
| /p:PublishSingleFile=true \ | |
| /p:Version=${{ needs.shared_ci_cd.outputs.version }} | |
| - name: Create ZIP for release | |
| run: | | |
| cd ${{ runner.temp }}/Release/ | |
| zip -r ThisIsYourLife.${{ needs.shared_ci_cd.outputs.version }}.zip * | |
| - name: Generate SBOM and attest build provenance and SBOM | |
| uses: mu88/common/.github/actions/attest-provenance-sbom@44f3ad2b75ce56edcbfee4cbcfd6ac0bf356fd0a | |
| with: | |
| is-release: ${{ needs.shared_ci_cd.outputs.is_release }} | |
| sbom-file: sbom.json | |
| sbom-path: . | |
| subject-path: ${{ runner.temp }}/Release/ThisIsYourLife*.zip | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@v3 | |
| if: ${{ needs.shared_ci_cd.outputs.is_release == 'true' }} | |
| with: | |
| body: ${{ needs.shared_ci_cd.outputs.release_notes }} | |
| files: | | |
| sbom.json | |
| ${{ runner.temp }}/Release/ThisIsYourLife*.zip | |
| name: ${{ needs.shared_ci_cd.outputs.version }} | |
| tag_name: ${{ needs.shared_ci_cd.outputs.version }} |