Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Sjöö committed Apr 28, 2024
1 parent c415095 commit cb7ccff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 31 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/dotnet.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
dotnet-version: 6.0.x
- name: Build and Pack NuGet package
run: dotnet pack DepedencyFaker.sln -p:Version='${{ steps.gitversion.outputs.SemVer }}' -c Release
run: dotnet pack -p:Version='${{ steps.gitversion.outputs.SemVer }}' -c Release
- name: Upload NuGet package to GitHub
uses: actions/upload-artifact@v2
with:
Expand All @@ -45,7 +45,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main' # only run job if on the main branch
if: github.ref == 'refs/heads/release' # only run job if on the main branch

steps:
#Push NuGet package to GitHub packages
Expand Down
2 changes: 1 addition & 1 deletion DependencyFaker.sln
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1A8EFBA3-7C35-4EDF-9871-98BE10D6BB89}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
.github\workflows\main.yml = .github\workflows\main.yml
README.md = README.md
EndProjectSection
EndProject
Expand Down
1 change: 1 addition & 0 deletions FakeItEasy/FakeItEasy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<RootNamespace>Vanilla.DependencyFaker</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RepositoryUrl>https://github.com/johnnysjoo2/DependencyFaker</RepositoryUrl>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit cb7ccff

Please sign in to comment.