Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Seji64 authored Feb 26, 2021
1 parent 8ad6938 commit d6e4b69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }} # Provide GITHUB_TOKEN to login into the GitHub Packages
image-name: LAPS-WebUI # Provide only Docker image name, tag will be automatically set to latest
dockerfile: Dockerfile
dockerfile: src/Dockerfile
extract-git-tag: true
build-context: ./src

Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
tag=$(git describe --tags --abbrev=0)
release_name="LAPS-WebUI-$tag-${{ matrix.target }}"
# Build everything
dotnet publish src/LAPS-WebUI.csproj --self-contained --framework netcoreapp5.0 --runtime "${{ matrix.target }}" -c Release -o "$release_name"
dotnet publish src/LAPS-WebUI.csproj --self-contained --framework net5.0 --runtime "${{ matrix.target }}" -c Release -o "$release_name"
# Pack files
if [ "${{ matrix.target }}" == "win-x64" ]; then
# Pack to zip for Windows
Expand Down

0 comments on commit d6e4b69

Please sign in to comment.