feat: redesign UPLOADS_UPDATE to send only changed items #307
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 | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| attestations: write | |
| id-token: write | |
| jobs: | |
| build: | |
| name: Build application | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Determine Bun version | |
| id: bun-version | |
| run: echo "BUN_VERSION=$(jq -r '.engines.bun' package.json)" >> $GITHUB_OUTPUT | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: ${{ steps.bun-version.outputs.BUN_VERSION }} | |
| - run: bun install --frozen-lockfile | |
| - run: bun run build | |
| - name: Create GitHub Release | |
| if: github.event_name == 'push' | |
| uses: softprops/action-gh-release@v3 | |
| with: | |
| files: curator-server | |
| tag_name: auto-release-${{ github.run_number }} | |
| target_commitish: ${{ github.sha }} | |
| make_latest: true | |
| - name: Generate artifact attestation | |
| if: github.event_name == 'push' | |
| uses: actions/attest-build-provenance@v4 | |
| with: | |
| subject-path: curator-server |