Skip to content

Explicitly target ruptura.proj instead of the default ruptura.sln in … #188

Explicitly target ruptura.proj instead of the default ruptura.sln in …

Explicitly target ruptura.proj instead of the default ruptura.sln in … #188

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Package
on:
push:
branches:
- master
defaults:
run:
shell: bash
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
jobs:
package:
if: github.repository == 'vezel-dev/ruptura'
runs-on: windows-2022
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Build project
run: |
dotnet tool restore
dotnet build ruptura.proj
- name: Upload GitHub packages
run: |
dotnet gpr push pkg/feed/*.nupkg -k ${{ secrets.GITHUB_TOKEN }}