From bccfd831333ca05dd6fb7f876bf81ecd596c276c Mon Sep 17 00:00:00 2001 From: Vasek - Tom C Date: Thu, 15 Feb 2024 15:30:31 +0100 Subject: [PATCH] add dagger dry release test Signed-off-by: Vasek - Tom C --- .github/workflows/release-dry-run.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-dry-run.yml b/.github/workflows/release-dry-run.yml index c9772eb..64dde6f 100644 --- a/.github/workflows/release-dry-run.yml +++ b/.github/workflows/release-dry-run.yml @@ -3,6 +3,28 @@ name: Release Daggerverse modules (dry-run) on: push: branches: - - master + - main + pull_request: + branches: + - main + +jobs: + release-dry: + name: Run dry run publishing + runs-on: ubuntu-latest + env: + DAGGER_CLOUD_TOKEN: ${{ secrets.DAGGER_CLOUD_TOKEN }} + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dagger + run: | + cd /usr/local + curl -sSL https://get-release.dagger.io/dagger | sh + dagger --version -jobs: \ No newline at end of file + - name: Run dry run publishing + run: | + dagger -m -m github.com/quartz-technology/daggerverse/daggerverse-cockpit call publish --repostory=. --dryRun --exclude="deprecated" \ No newline at end of file