mirror of
https://github.com/D4M13N-D3V/godot_template.git
synced 2025-03-14 10:04:59 +00:00
fix paths for uploading release assets
This commit is contained in:
parent
46732889b5
commit
cf71f796ec
14
.github/workflows/game_web_ci.yml
vendored
14
.github/workflows/game_web_ci.yml
vendored
@ -131,19 +131,19 @@ jobs:
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: game_web
|
||||
path: build/web
|
||||
path: web.zip
|
||||
|
||||
- name: Download Linux artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: game_linux
|
||||
path: build/linux
|
||||
path: linux.zip
|
||||
|
||||
- name: Download Windows artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: game_windows
|
||||
path: build/windows
|
||||
path: windows.zip
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
@ -156,7 +156,7 @@ jobs:
|
||||
body: |
|
||||
Release notes for ${{ env.BRANCH_NAME }}.
|
||||
draft: false
|
||||
prerelease: false
|
||||
prerelease: true
|
||||
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
@ -165,7 +165,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./build/web/*
|
||||
asset_path: ./web.zip
|
||||
asset_name: Godot_Game_Web.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
@ -176,7 +176,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./build/linux/*
|
||||
asset_path: ./linux.zip
|
||||
asset_name: Godot_Game_Linux.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
@ -187,6 +187,6 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./build/windows/*
|
||||
asset_path: ./windows.zip
|
||||
asset_name: Godot_Game_Windows.zip
|
||||
asset_content_type: application/zip
|
||||
|
Loading…
x
Reference in New Issue
Block a user