Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hyazinthh committed May 13, 2024
1 parent 9f1a916 commit 194407e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,31 @@ on:
push:
branches:
- master
- newbuild
- xbim_v6_dev
paths:
- RELEASE_NOTES.md
- .github/workflows/publish.yml
jobs:
pack:
name: Package
runs-on: windows-latest
steps:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Dotnet
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Restore Tools
run: dotnet tool restore
- name: Add Paket credentials
run: dotnet paket config add-token https://nuget.pkg.github.com/aardvark-platform/index.json ${{ secrets.GITHUB_TOKEN }}
- name: Restore
run: dotnet paket restore
- name: Build
run: dotnet build src\Aardvark.Data.Ifc.sln
- name: Test
run: dotnet test src\Aardvark.Data.Ifc.sln
- name: Pack
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Dotnet
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: build
- name: Add Paket credentials
run: dotnet tool restore && dotnet paket config add-token https://nuget.pkg.github.com/aardvark-platform/index.json ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: .\build.cmd
- name: Test
run: dotnet test src\Aardvark.Data.Ifc.sln

0 comments on commit 194407e

Please sign in to comment.