From 9723c12394099179976c6aa1538ea3db6de88070 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 6 Sep 2024 11:46:15 -0700 Subject: [PATCH] update --- .github/workflows/part-template-build.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/part-template-build.yml b/.github/workflows/part-template-build.yml index a5dba0eed..a0d129818 100644 --- a/.github/workflows/part-template-build.yml +++ b/.github/workflows/part-template-build.yml @@ -9,15 +9,12 @@ on: required: false type: string -defaults: - run: - shell: pwsh - jobs: build: runs-on: ubuntu-latest defaults: run: + shell: pwsh working-directory: ./templates/Coalesce.Vue.Template env: @@ -55,11 +52,9 @@ jobs: npm i coalesce-vue-vuetify3@$env:COALESCE_VERSION --save - name: TestLocal - shell: pwsh - run: | - ./TestLocal.ps1 + run: ./TestLocal.ps1 - - run: dotnet pack -p:Version=$env:COALESCE_VERSION -p:PackageOutputPath="${{ github.workspace }}/out/packages" + - run: dotnet pack -p:Version=$($env:COALESCE_VERSION ?? '0.1.0') -p:PackageOutputPath="${{ github.workspace }}/out/packages" - name: Upload Artifacts uses: actions/upload-artifact@v3