mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-11-22 17:45:55 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- "v*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build_linux:
|
build_linux:
|
||||||
name: Build Linux
|
name: Build Linux
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -36,10 +35,23 @@ jobs:
|
||||||
name: windows
|
name: windows
|
||||||
path: 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:
|
package:
|
||||||
name: Package
|
name: Package
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build_linux, build_windows]
|
needs: [build_linux, build_windows, build_macos]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v1
|
- uses: actions/download-artifact@v1
|
||||||
|
@ -48,13 +60,18 @@ jobs:
|
||||||
- uses: actions/download-artifact@v1
|
- uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: windows
|
name: windows
|
||||||
|
- uses: actions/download-artifact@v1
|
||||||
|
with:
|
||||||
|
name: macos
|
||||||
- run: |
|
- run: |
|
||||||
mkdir godot-tts
|
mkdir godot-tts
|
||||||
cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
||||||
mkdir -p godot-tts/target/release
|
mkdir -p godot-tts/target/release
|
||||||
cp linux/release/*.so godot-tts/target/release
|
cp linux/release/*.so godot-tts/target/release
|
||||||
cp windows/release/*.dll 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 LICENSE godot-tts
|
||||||
|
cp README.md godot-tts
|
||||||
cp TTS.gd godot-tts.g* godot-tts
|
cp TTS.gd godot-tts.g* godot-tts
|
||||||
cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
||||||
rm godot-tts/*.release
|
rm godot-tts/*.release
|
||||||
|
|
Loading…
Reference in New Issue
Block a user