mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-11-22 12:05:56 +00:00
Update release build to include MacOS, and to package README.md.
This commit is contained in:
parent
8dfa941ba6
commit
6fd18b0de1
23
.github/workflows/release.yml
vendored
23
.github/workflows/release.yml
vendored
|
@ -3,10 +3,9 @@ name: Release
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
|
||||
build_linux:
|
||||
name: Build Linux
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -36,10 +35,23 @@ jobs:
|
|||
name: windows
|
||||
path: windows
|
||||
|
||||
build_macos:
|
||||
name: Build MacOS
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: |
|
||||
cargo build --release
|
||||
mv target macos
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: macos
|
||||
path: macos
|
||||
|
||||
package:
|
||||
name: Package
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build_linux, build_windows]
|
||||
needs: [build_linux, build_windows, build_macos]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/download-artifact@v1
|
||||
|
@ -48,13 +60,18 @@ jobs:
|
|||
- uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: windows
|
||||
- uses: actions/download-artifact@v1
|
||||
with:
|
||||
name: macos
|
||||
- run: |
|
||||
mkdir godot-tts
|
||||
cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
||||
mkdir -p godot-tts/target/release
|
||||
cp linux/release/*.so godot-tts/target/release
|
||||
cp windows/release/*.dll godot-tts/target/release
|
||||
cp macos/release/*.dylib godot-tts/target/release
|
||||
cp LICENSE godot-tts
|
||||
cp README.md godot-tts
|
||||
cp TTS.gd godot-tts.g* godot-tts
|
||||
cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
||||
rm godot-tts/*.release
|
||||
|
|
Loading…
Reference in New Issue
Block a user