Skip to content

Bump xunit.runner.visualstudio from 2.5.5 to 2.5.6 #169

Bump xunit.runner.visualstudio from 2.5.5 to 2.5.6

Bump xunit.runner.visualstudio from 2.5.5 to 2.5.6 #169

Workflow file for this run

name: .NET Core
on:
push:
branches: [ master ]
# Sequence of patterns matched against refs/tags
#tags:
#- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
paths-ignore:
- 'README.md'
pull_request:
branches: [ master ]
workflow_dispatch:
defaults:
run:
shell: pwsh
env:
configuration: Release
baseVersion: 1.0.0
preRelease: true
jobs:
build:
if: ${{ github.repository == 'Keboo/ColorKraken' }}
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
#- name: Set Version
# run: |
# if ("${{ github.ref }}".startsWith("refs/tags/v")) {
# $tagVersion = "${{ github.ref }}".substring(11)
# echo "buildVersion=$tagVersion.${{ github.run_number }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
# echo "nugetVersion=$tagVersion" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
# echo "preRelease=false" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
# } else {
# echo "buildVersion=${{ env.baseVersion }}.${{ github.run_number }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
# echo "nugetVersion=${{ env.baseVersion }}-ci${{ github.run_number }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
# }
#- name: Setup .NET 6.0
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: "6.x"
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build -p:ContinuousIntegrationBuild=True --configuration ${{ env.configuration }} --no-restore
- name: Publish
run: dotnet publish --no-build --configuration ${{ env.configuration }}
- name: File hashes
run: Get-ChildItem "~/.nuget/packages/clowd.squirrel/2.9.42/tools" | %{ $_.Name, (Get-FileHash -Algorithm MD5 -Path $_).Hash}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Installer
path: ./SciuridaeReleases
# - name: Upload to blob
# run: az storage copy -s "./SciuridaeReleases/ColorKrakenSetup.exe" -d "https://sciuridae.blob.core.windows.net/test/ColorKrakenSetup.exe" --connection-string "${{ secrets.BLOB_CONNECTION_STRING }}"
#- name: Test
# run: dotnet test --no-build --verbosity normal --configuration ${{ env.configuration }} --logger "console" --blame-hang --blame-hang-timeout 5m
#- name: Publish
# if: ${{ github.event_name != 'pull_request' }}
# run: dotnet publish --configuration ${{ env.configuration }} --no-build --output ${{ github.workspace }}\choco\colorkraken\tools
#- name: Choco Pack
# if: ${{ github.event_name != 'pull_request' }}
# run: choco pack --version ${{ env.nugetVersion }} --out ${{ github.workspace }}\choco
# working-directory: choco\colorkraken
#- name: Choco Package Upload
# if: ${{ github.event_name != 'pull_request' }}
# uses: actions/upload-artifact@v2
# with:
# name: Chocolatey NuGet
# path: ${{ github.workspace }}\choco\*.nupkg
#- name: Choco Package Push
# if: ${{ env.preRelease == 'false' }}
# run: choco push -s https://push.chocolatey.org/ --key ${{ secrets.CHOCO_API_KEY }}
# working-directory: choco
automerge:
needs: build
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/[email protected]