-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update workflows
- Loading branch information
Showing
4 changed files
with
35 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,27 @@ | ||
name: .NET Core Desktop | ||
name: Build Artifact | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
workflow_call: | ||
outputs: | ||
version: | ||
description: "Version builded" | ||
value: ${{ jobs.build.outputs.version }} | ||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
configuration: [Debug, Release] | ||
runs-on: windows-latest | ||
env: | ||
Solution_Name: GDPIControl.sln | ||
DOTNET_NOLOGO: true | ||
SolutionName: GDPIControl.sln | ||
Configuration: ${{ matrix.configuration }} | ||
|
||
outputs: | ||
version: ${{steps.version.outputs.version}} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
@@ -31,19 +37,20 @@ jobs: | |
uses: microsoft/[email protected] | ||
|
||
- name: Set VERSION | ||
shell: pwsh | ||
id: version | ||
run: | | ||
dotnet tool install -g minver-cli --version 2.5.0 | ||
$version = minver -t v -d preview | ||
$number = $version.Split('-')[0] | ||
echo "GITHUB_ENV: VERSION=$version" | ||
echo "VERSION=$version" | ||
echo "VERSION=$version" >> $GITHUB_ENV | ||
echo "::set-output name=version::$version" | ||
- name: Restore solution | ||
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration | ||
run: msbuild $env:SolutionName /t:Restore /p:Configuration=$env:Configuration | ||
|
||
- name: Build solutin | ||
run: msbuild $env:Solution_Name /t:Build /p:Configuration=$env:Configuration | ||
run: msbuild $env:SolutionName /t:Build /p:Configuration=$env:Configuration | ||
|
||
- name: Upload a Build Artifact | ||
if: matrix.configuration == 'Release' | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Build Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
jobs: | ||
build: | ||
uses: Virenbar/GDPIControl/.github/workflows/build-artifact.yml@master | ||
release: | ||
runs-on: windows-latest | ||
needs: build | ||
steps: | ||
- run: echo Version builded ${{ needs.build.outputs.version }} | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# GDPIControl - GoodbyeDPI Tray Control | ||
Small tray application for controlling GoodbyeDPI | ||
|
||
- **[WinDivert](https://github.com/basil00/Divert)** by @basil00 | ||
- **[GoodbyeDPI](https://github.com/ValdikSS/GoodbyeDPI/)** by @ValdikSS | ||
- **[WinDivert](https://github.com/basil00/Divert)** by @basil00 | ||
- **[GoodbyeDPI](https://github.com/ValdikSS/GoodbyeDPI/)** by @ValdikSS |