Skip to content

Commit

Permalink
Update deployment-develop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfagun74 authored Dec 5, 2024
1 parent 9de69f7 commit 0b56cde
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/deployment-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ jobs:
run: |
dotnet build gamevault.sln --configuration Release
7z a GameVault.zip gamevault/bin
- name: Get release information
id: release
run: |
REPO="Phalcode/gamevault-app"
TAG="unstable"
RELEASE=$(curl -s "https://api.github.com/repos/$REPO/releases/tags/$TAG")
echo "Release URL: $(echo $RELEASE | jq -r .upload_url)" # Ensure jq is installed on your runner
echo "upload_url=$(echo $RELEASE | jq -r .upload_url | sed 's/{?name,label}//')" >> $GITHUB_ENV
- name: Upload Release Artifact
id: upload
Expand All @@ -43,6 +34,6 @@ jobs:
asset_path: GameVault.zip
asset_name: GameVault.zip
asset_content_type: application/zip
upload_url: ${{ env.upload_url }}
upload_url: "https://api.github.com/repos/Phalcode/gamevault-app/releases/tags/unstable"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0b56cde

Please sign in to comment.