Skip to content

Commit

Permalink
correct the release uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Jun 10, 2024
1 parent adc0deb commit 793199e
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 6 deletions.
54 changes: 49 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,58 @@ jobs:
tag_name: ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ github.token }}


- name: upload Linux AppImage
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: BowlerLauncher-x86_64.AppImage
asset_name: BowlerLauncher-x86_64.AppImage
asset_content_type: application/octet-stream
- name: upload Debian
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: BowlerLauncher-x86_64.deb
asset_name: BowlerLauncher-x86_64.deb
asset_content_type: application/octet-stream
- name: upload Windows exe
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: mujoco-java.jar
asset_name: mujoco-java.jar
asset_content_type: application/jar

asset_path: BowlerLauncher-x86_64.exe
asset_name: BowlerLauncher-x86_64.exe
asset_content_type: application/exe
- name: upload Windows zip
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: BowlerLauncher-x86_64.zip
asset_name: BowlerLauncher-x86_64.zip
asset_content_type: application/zip
- name: upload MacOS dmg x86
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: BowlerLauncher-x86_64.dmg
asset_name: BowlerLauncher-x86_64.dmg
asset_content_type: application/octet-stream
- name: upload MacOS dmg arm
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: BowlerLauncher-arm64.dmg
asset_name: BowlerLauncher-arm64.dmg
asset_content_type: application/octet-stream
2 changes: 1 addition & 1 deletion package-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
ARCH=x86_64
JVM=zulu17.50.19-ca-fx-jdk17.0.11-macosx_x64
if [[ $(uname -m) == 'arm64' ]]; then
ARCH=arm46
ARCH=arm64
echo "M1 Mac detected https://cdn.azul.com/zulu/bin/zulu17.50.19-ca-fx-jdk17.0.11-macosx_aarch64.tar.gz"
JVM=zulu17.50.19-ca-fx-jdk17.0.11-macosx_aarch64
else
Expand Down
1 change: 1 addition & 0 deletions package-windows_x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,6 @@ $PACKAGE --input "$INPUT_DIR/" \
ls -al
rm -rf release
mkdir release
export ARCH=x86_64
cp $NAME-$VERSION.exe release/$NAME-$ARCH.exe
cp $NAME-$VERSION.zip release/$NAME-$ARCH.zip

0 comments on commit 793199e

Please sign in to comment.