Skip to content

Commit

Permalink
πŸ› Fix CI variables (#9)
Browse files Browse the repository at this point in the history
Fixes GitHub CI variables.
  • Loading branch information
connorjs authored Jul 23, 2024
1 parent 69a298c commit 4a7e7c4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
pull_request:
branches: [main]

env:
REPO_NAME: ${{ github.event.repository.name }}

jobs:
build:
name: Build
Expand All @@ -32,7 +29,7 @@ jobs:

- name: Set nupkg path (GitVersion-ed)
run: |
echo 'NUPKG_PATH=artifacts/package/release/${{ env.REPO_NAME }}.${{ env.GitVersion_SemVer }}.nupkg' >> "$GITHUB_ENV"
echo 'NUPKG_PATH=artifacts/package/release/${{ github.event.repository.name }}.${{ env.GitVersion_SemVer }}.nupkg' >> "$GITHUB_ENV"
- name: Use .NET
uses: actions/setup-dotnet@v4
Expand Down Expand Up @@ -71,8 +68,8 @@ jobs:
name: Create release (GitReleaseManager)
with:
token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ env.GITHUB_REPOSITORY_OWNER }}
repository: ${{ env.REPO_NAME }}
owner: ${{ github.repository_owner }}
repository: ${{ github.event.repository.name }}
milestone: ${{ env.GitVersion_SemVer }}
name: v${{ env.GitVersion_SemVer }}
assets: |
Expand Down

0 comments on commit 4a7e7c4

Please sign in to comment.