Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed Sep 6, 2024
1 parent ccd9c1c commit c2cc58b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/part-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
COALESCE_VERSION: ${{inputs.COALESCE_VERSION}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
working-directory: playground/Coalesce.Web.Vue2

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v2
with:
Expand All @@ -67,7 +67,7 @@ jobs:
working-directory: playground/Coalesce.Web.Vue3

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v2
with:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
COALESCE_VERSION: ${{inputs.COALESCE_VERSION}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: npm ci

Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
COALESCE_VERSION: ${{inputs.COALESCE_VERSION}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# build coalesce-vue
- run: npm run build-local-deps
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
COALESCE_VERSION: ${{inputs.COALESCE_VERSION}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# build coalesce-vue
- run: npm run build-local-deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/part-compute-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
COALESCE_VERSION: ${{ steps.version.outputs.COALESCE_VERSION }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Verify and set COALESCE_VERSION variable"
id: version
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/part-template-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,29 @@ jobs:
uses: actions/download-artifact@v3
with:
name: packages
path: ./local-nuget
path: ${{ github.workspace }}/local-nuget

- run: dotnet nuget add source "./local-nuget" --name "local-nuget"
- name: Add local nuget source
if: env.COALESCE_VERSION
run: |
dotnet nuget add source "${{ github.workspace }}/local-nuget" --name "local-nuget"
ls ${{ github.workspace }}/local-nuget
- name: "Set dependency versions"
if: env.COALESCE_VERSION
run: |
$filePath = "./content/Directory.Build.props"
$newVersion = "<CoalesceVersion>$env:COALESCE_VERSION</CoalesceVersion>"
(Get-Content $filePath) -replace '<CoalesceVersion>.*?<\/CoalesceVersion>', $newVersion | Set-Content $filePath
cat $filePath
cd ./content/*.Web
echo $env:COALESCE_VERSION
npm i coalesce-vue@$env:COALESCE_VERSION --save
npm i coalesce-vue-vuetify3@$env:COALESCE_VERSION --save
cat package.json
- name: TestLocal
run: ./TestLocal.ps1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
needs: [meta, publish]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: rickstaa/action-create-tag@v1
with:
tag: ${{ needs.meta.outputs.COALESCE_VERSION }}
Expand Down

0 comments on commit c2cc58b

Please sign in to comment.