Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ShirasawaSama committed Dec 11, 2023
1 parent e8814aa commit d67844d
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,24 @@ jobs:
sed -i "s/--add-exports=java.desktop\/com.apple.eawt.event=ALL-UNNAMED//" release-bin/.vmoptions
mkdir package
./gradlew :daw:shadowJar
./gradlew --stop
env:
APP_CENTER_SECRET: ${{ secrets.APP_CENTER_SECRET }}

- name: Upload jar to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: daw/build/libs/daw.jar
asset_name: EchoInMirror-win64.jar
tag: ${{ github.ref }}

- name: Copy files
shell: bash
run: |
cp daw/build/libs/daw.jar package/EchoInMirror.jar
cp -R release-bin/ package/
cp -R release-bin/* package/
curl https://github.com/EchoInMirror/EIMHost/releases/latest/download/EIMHost-x86.exe -o package/EIMHost-x86.exe -L
curl https://github.com/EchoInMirror/EIMHost/releases/latest/download/EIMHost-x64.exe -o package/EIMHost.exe -L
env:
APP_CENTER_SECRET: ${{ secrets.APP_CENTER_SECRET }}
- name: Download ffmpeg
shell: bash
Expand Down Expand Up @@ -71,10 +82,6 @@ jobs:
asset_name: EchoInMirror-win64.zip
tag: ${{ github.ref }}

- name: Upload jar to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: EchoInMirror/EchoInMirror.jar
asset_name: EchoInMirror-win64.jar
tag: ${{ github.ref }}
- name: Stop gradle
shell: bash
run: ./gradlew --stop

0 comments on commit d67844d

Please sign in to comment.