Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mfoltz authored Nov 18, 2024
1 parent 7e6af17 commit 0c8057f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,17 @@ jobs:
- name: Create secrets.json
run: |
mkdir -p Bloodcraft/Resources
mkdir -p /home/runner/work/Bloodcraft/Bloodcraft/Resources
echo '{
"NEW_SHARED_KEY": "${{ secrets.NEW_SHARED_KEY }}",
"OLD_SHARED_KEY": "${{ secrets.OLD_SHARED_KEY }}"
}' > Bloodcraft/Resources/secrets.json
}' > /home/runner/work/Bloodcraft/Bloodcraft/Resources/secrets.json
- name: Build (Release)
run: dotnet build . --configuration Release -p:Version=${{ env.version }}

- name: Clean Up
run: rm /home/runner/work/Bloodcraft/Bloodcraft/Resources/secrets.json

- name: GH Release
uses: softprops/action-gh-release@v1
Expand All @@ -63,6 +66,3 @@ jobs:
CHANGELOG.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Clean Up
run: rm Bloodcraft/Resources/secrets.json

0 comments on commit 0c8057f

Please sign in to comment.