Einstellungen: Möglichkeit ergänzt, keine Vorgabezeit zu haben. #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Deploy BWB-Auswertung" | |
on: | |
push: | |
tags: | |
- "BWB-Auswertung/v*" | |
env: | |
PROJECT_PATH: BWB-Auswertung/BWB-Auswertung.csproj | |
jobs: | |
deploy: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- run: dotnet restore ${{ env.PROJECT_PATH }} | |
- run: dotnet build ${{ env.PROJECT_PATH }} -c Release | |
- run: dotnet publish ${{ env.PROJECT_PATH }} -c Release --self-contained -r win-x64 -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true | |
- uses: actions/create-release@v1 | |
id: create_release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: ${{ github.ref }} | |
- uses: csexton/release-asset-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
pattern: BWB-Auswertung/bin/Release/net8.0-windows10.0.19041.0/win-x64/publish/*.exe | |
release-url: ${{steps.create_release.outputs.upload_url }} |