There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
ci: attest provenance (#7609)
Brooooooklynf052547b7867
diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.ymlindex a5e4054f34..f64f1e01d3 100644--- a/.github/workflows/release-desktop.yml+++ b/.github/workflows/release-desktop.yml@@ -27,6 +27,8 @@ permissions:actions: writecontents: writesecurity-events: write+ id-token: write+ attestations: writeenv:BUILD_TYPE: ${{ github.event.inputs.build-type }}@@ -159,6 +161,20 @@ jobs:mv packages/frontend/electron/out/*/make/zip/linux/x64/*.zip ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-linux-x64.zipmv packages/frontend/electron/out/*/make/*.AppImage ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-linux-x64.appimage+ - uses: actions/attest-build-provenance@v1+ if: ${{ matrix.spec.platform == 'darwin' }}+ with:+ subject-path: |+ ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-macos-${{ matrix.spec.arch }}.zip+ ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-macos-${{ matrix.spec.arch }}.dmg++ - uses: actions/attest-build-provenance@v1+ if: ${{ matrix.spec.platform == 'linux' }}+ with:+ subject-path: |+ ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-linux-x64.zip+ ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-linux-x64.appimage+- name: Upload Artifactuses: actions/upload-artifact@v4with:@@ -328,6 +344,13 @@ jobs:mv packages/frontend/electron/out/*/make/squirrel.windows/x64/*.exe ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-windows-x64.exemv packages/frontend/electron/out/*/make/nsis.windows/x64/*.exe ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-windows-x64.nsis.exe+ - uses: actions/attest-build-provenance@v1+ with:+ subject-path: |+ ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-windows-x64.zip+ ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-windows-x64.exe+ ./builds/affine-${{ needs.before-make.outputs.RELEASE_VERSION }}-${{ env.BUILD_TYPE }}-windows-x64.nsis.exe+- name: Upload Artifactuses: actions/upload-artifact@v4with:@@ -368,7 +391,7 @@ jobs:path: ./- uses: actions/setup-node@v4with:- node-version: 18+ node-version: 20- name: Generate Release ymlrun: |node ./packages/frontend/electron/scripts/generate-yml.js