Skip to content

Commit

Permalink
url fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrn committed Sep 30, 2024
1 parent e8c6298 commit 0b2ddbe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ jobs:
env:
TAG_NAME: v$(date +%F)
run: |
sudo apt-get install -y jq
# Create a new release
response=$(curl -s -X POST https://api.github.com/repos/${{ github.repository }}/releases \
response=$(curl -s -X POST https://api.github.com/repos/lgrn/${{ github.repository }}/releases \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{
Expand All @@ -109,11 +108,11 @@ jobs:
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/gzip" \
--data-binary @dist/valheim-motd-linux.tar.gz \
"https://uploads.github.com/repos/${{ github.repository }}/releases/$release_id/assets?name=valheim-motd-linux.tar.gz"
"https://uploads.github.com/repos/lgrn/${{ github.repository }}/releases/$release_id/assets?name=valheim-motd-linux.tar.gz"
# Upload the macOS binary
curl -s -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/gzip" \
--data-binary @dist/valheim-motd-macos.tar.gz \
"https://uploads.github.com/repos/${{ github.repository }}/releases/$release_id/assets?name=valheim-motd-macos.tar.gz"
"https://uploads.github.com/repos/lgrn/${{ github.repository }}/releases/$release_id/assets?name=valheim-motd-macos.tar.gz"

0 comments on commit 0b2ddbe

Please sign in to comment.