This repository has been archived by the owner on May 3, 2024. It is now read-only.
forked from alexreinert/ARSoft.Tools.Net
-
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 #3 from enclave-networks/remove-exotic-records
Switching over to .NET6, removing a variety of dependencies.
- Loading branch information
Showing
175 changed files
with
163 additions
and
16,666 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,52 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
versionSpec: '5.x' | ||
|
||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected] | ||
|
||
- name: Setup .NET 6 (SDK) | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 6.0.x | ||
source-url: https://nuget.pkg.github.com/enclave-networks/index.json | ||
env: | ||
NUGET_AUTH_TOKEN: ${{github.token}} | ||
|
||
- name: Build | ||
run: dotnet build -c Release /p:Version=${{ steps.gitversion.outputs.SemVer }} | ||
|
||
- name: Push Github Source Packages | ||
if: github.event_name == 'push' | ||
run: dotnet nuget push src/**/*${{ steps.gitversion.outputs.SemVer }}.nupkg --api-key ${{github.token}} -s https://nuget.pkg.github.com/enclave-networks/index.json --skip-duplicate --no-symbols true | ||
|
||
- name: Create Release | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: v${{ steps.gitversion.outputs.SemVer }} | ||
release_name: Release v${{ steps.gitversion.outputs.SemVer }} | ||
body: Latest SDK Release |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.