-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from Derroylo/develop
Release 0.4.2
- Loading branch information
Showing
67 changed files
with
1,739 additions
and
937 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: .NET Core | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*-alpha*' | ||
- 'v*-beta*' | ||
- 'v*-rc*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 7.0.100 | ||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build -r linux-x64 --configuration Release --no-restore --self-contained false /p:PublishSingleFile=true /p:PublishTrimmed=true | ||
- name: Zip the Build | ||
run: cd ./bin/Release/net7.0/linux-x64/ && zip -r ../../../../gitpod-tool.zip ./* && cd - | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: zipped-tool | ||
path: gitpod-tool.zip | ||
|
||
publish: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: zipped-tool | ||
- uses: ncipollo/release-action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
skipIfReleaseExists: true | ||
generateReleaseNotes: true | ||
prerelease: true | ||
artifacts: gitpod-tool.zip | ||
artifactContentType: application/zip |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: .NET Core | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'feature/*' | ||
- 'bugfix/*' | ||
|
||
jobs: | ||
tests: | ||
name: .NET Code Analysis runner | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 7.0.100 | ||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Run .NET Code Analysis | ||
run: | | ||
dotnet tool install -g roslynator.dotnet.cli | ||
export PATH="$PATH:/home/gitpod/.dotnet/tools" | ||
roslynator analyze --ignored-diagnostics CA1822 | ||
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ bin | |
obj | ||
gitpod-tool.zip | ||
.gpt.yml | ||
docker-compose.yml | ||
docker-compose.yml | ||
gitpod.docker-compose.yml |
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
Oops, something went wrong.