The open source coding agent.
TypeScript
ci
Dax Raadda7f45bd4c1a
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 4c6a0569621..7562910f6ee 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -63,12 +63,10 @@ jobs:container:image: ghcr.io/anomalyco/build/bun-node:24.04steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4with:fetch-tags: true-- - name: Mark workspace as safe- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"+ set-safe-directory: true- uses: ./.github/actions/setup-bun@@ -106,39 +104,15 @@ jobs:container:image: ghcr.io/anomalyco/build/tauri-linux:24.04steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4with:fetch-tags: true-- - name: Mark workspace as safe- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"-- - uses: apple-actions/import-codesign-certs@v2- if: ${{ runner.os == 'macOS' }}- with:- keychain: build- p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }}- p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}-- - name: Verify Certificate- if: ${{ runner.os == 'macOS' }}- run: |- CERT_INFO=$(security find-identity -v -p codesigning build.keychain | grep "Developer ID Application")- CERT_ID=$(echo "$CERT_INFO" | awk -F'"' '{print $2}')- echo "CERT_ID=$CERT_ID" >> $GITHUB_ENV- echo "Certificate imported."-- - name: Setup Apple API Key- if: ${{ runner.os == 'macOS' }}- run: |- echo "${{ secrets.APPLE_API_KEY_PATH }}" > $RUNNER_TEMP/apple-api-key.p8+ set-safe-directory: true- uses: ./.github/actions/setup-bun- - name: install Rust stable- uses: dtolnay/rust-toolchain@stable- with:- targets: ${{ matrix.settings.target }}+ - name: add Rust target+ run: rustup target add ${{ matrix.settings.target }}- uses: Swatinem/rust-cache@v2with:@@ -169,7 +143,7 @@ jobs:with:projectPath: packages/desktopuploadWorkflowArtifacts: true- tauriScript: ${{ (contains(matrix.settings.host, 'ubuntu') && 'cargo tauri') || '' }}+ tauriScript: cargo tauriargs: --target ${{ matrix.settings.target }} --config ./src-tauri/tauri.prod.conf.json --verboseupdaterJsonPreferNsis: truereleaseId: ${{ needs.version.outputs.release }}@@ -181,12 +155,6 @@ jobs:TAURI_BUNDLER_NEW_APPIMAGE_FORMAT: trueTAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}- APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}- APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}- APPLE_SIGNING_IDENTITY: ${{ env.CERT_ID }}- APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}- APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}- APPLE_API_KEY_PATH: ${{ runner.temp }}/apple-api-key.p8build-tauri:needs: