A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
ci: add dry-run for testing the release-assets CI
towfiqicbe32500770e
diff --git a/.github/workflows/release-assets.yml b/.github/workflows/release-assets.ymlindex 94a7964..908f456 100644--- a/.github/workflows/release-assets.yml+++ b/.github/workflows/release-assets.yml@@ -9,6 +9,11 @@ on:description: "Release tag to build (e.g., v0.0.1)"required: truetype: string+ dry_run:+ description: "Build and validate assets without publishing (no GitHub release uploads, no Docker push, no Homebrew/R2 updates)"+ required: false+ default: false+ type: booleanpermissions:contents: write@@ -56,7 +61,7 @@ jobs:retention-days: 1- name: Upload Linux Assets- if: ${{ !env.ACT }}+ if: ${{ !env.ACT && github.event.inputs.dry_run != 'true' }}uses: softprops/action-gh-release@v2with:tag_name: ${{ github.event.inputs.tag || github.ref_name }}@@ -160,6 +165,7 @@ jobs:"$InstallerPath"- name: Upload Windows Assets+ if: ${{ github.event.inputs.dry_run != 'true' }}uses: softprops/action-gh-release@v2with:tag_name: ${{ github.event.inputs.tag || github.ref_name }}@@ -197,7 +203,7 @@ jobs:run: node scripts/build-executables.js --platform ${{ matrix.platform }}- name: Upload macOS Assets- if: ${{ !env.ACT }}+ if: ${{ !env.ACT && github.event.inputs.dry_run != 'true' }}uses: softprops/action-gh-release@v2with:tag_name: ${{ github.event.inputs.tag || github.ref_name }}@@ -224,6 +230,7 @@ jobs:update-homebrew:name: Update Homebrew Tapneeds: build-macos+ if: ${{ github.event.inputs.dry_run != 'true' }}runs-on: ubuntu-latestenvironment: cisteps:@@ -273,6 +280,7 @@ jobs:upload-scripts:name: Upload Installer Scripts to R2+ if: ${{ github.event.inputs.dry_run != 'true' }}runs-on: ubuntu-latestenvironment: cisteps:@@ -346,7 +354,7 @@ jobs:context: .file: Dockerfileplatforms: linux/amd64,linux/arm64- push: ${{ !env.ACT }}+ push: ${{ !env.ACT && github.event.inputs.dry_run != 'true' }}tags: |plutonhq/pluton:${{ steps.version.outputs.VERSION }}plutonhq/pluton:latest