Skip to content

Commit

Permalink
updates version
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukankaratas committed Jan 9, 2025
1 parent de2bb56 commit f599c81
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build_powerbi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,19 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: 6.0.5 # github actions doesnt like 6.1.0 onwards https://github.com/GitTools/actions/blob/main/docs/versions.md

- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/[email protected]

- run: npm ci
working-directory: src/powerbi-visual
- run: npm version 2.12.3 --allow-same-version
- run: npm version ${{steps.gitversion.outputs.semVer}} --allow-same-version
working-directory: src/powerbi-visual
- run: npm run build
working-directory: src/powerbi-visual
Expand Down Expand Up @@ -95,7 +105,7 @@ jobs:
path: artifacts/
- name: Zip artifacts
run: |
Compress-Archive -Path artifacts/* -DestinationPath powerbi.zip -Force
cd artifacts && zip -r ../powerbi.zip .
- name: upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit f599c81

Please sign in to comment.