Skip to content

Commit

Permalink
more work on gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Feb 5, 2025
1 parent 29ab5ae commit d317614
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/PublishNpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:

- name: Set Package Version
run: npm version --no-git-tag-version $GIT_TAG_LATEST
working-directory: src/Componentes
working-directory: src/Components

- name: Build Package
run: npm run build
working-directory: src/Componentes
working-directory: src/Components
# - name: Publish to NPM
# run: npm publish --access public
# working-directory: src/Components
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/PublishNuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Ensure all tags are fetched

- name: Install .NET SDK
uses: actions/setup-dotnet@v4
Expand All @@ -33,6 +35,9 @@ jobs:
run: npm run prebuild:net
working-directory: src/Components

- name: Debug GIT_TAG_LATEST
run: echo "Version extracted: $GIT_TAG_LATEST"

- name: Build Project
run: dotnet build src/Components/src/Components.fsproj --configuration Release /p:GitTag=$GIT_TAG_LATEST

Expand Down

0 comments on commit d317614

Please sign in to comment.