Skip to content

Fix problem with resizing entity not updating the shape (#2198) #16

Fix problem with resizing entity not updating the shape (#2198)

Fix problem with resizing entity not updating the shape (#2198) #16

Workflow file for this run

name: Build Release
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Cache the Maven packages to speed up build
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build and test
run: |
export REVISION=${GITHUB_REF_NAME:1}
export CHANGELIST=""
echo "Building version ${REVISION}${CHANGELIST}"
mvn clean install -B -Drevision=${REVISION} -Dchangelist=${CHANGELIST}
- name: Package
run: |
sudo apt-get install -qq genisoimage
export REVISION=${GITHUB_REF_NAME:1}
export CHANGELIST=""
echo "Packaging version ${REVISION}${CHANGELIST}"
mvn package -pl ugs-classic assembly:assembly -DskipTests=true -Drevision=${REVISION} -Dchangelist=${CHANGELIST}
mvn package -pl ugs-platform/application -P create-macosx-package -DskipTests=true -Drevision=${REVISION} -Dchangelist=${CHANGELIST}
mvn package -pl ugs-platform/application -P create-win32-package -DskipTests=true -Drevision=${REVISION} -Dchangelist=${CHANGELIST}
mvn package -pl ugs-platform/application -P create-win64-package -DskipTests=true -Drevision=${REVISION} -Dchangelist=${CHANGELIST}
mvn package -pl ugs-platform/application -P create-linux-package -DskipTests=true -Drevision=${REVISION} -Dchangelist=${CHANGELIST}
mvn package -pl ugs-platform/application -P create-pi-package -DskipTests=true -Drevision=${REVISION} -Dchangelist=${CHANGELIST}
# https://github.com/marketplace/actions/upload-to-github-release
- name: Upload binaries to snapshot release
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "ugs-classic/target/UniversalGcodeSender.zip;ugs-platform/application/target/ios-ugs-platform-app-*.dmg;ugs-platform/application/target/linux-ugs-platform-app*.tar.gz;ugs-platform/application/target/pi-ugs-platform-app*.tar.gz;ugs-platform/application/target/win-ugs-platform-app-*.zip;ugs-platform/application/target/win64-ugs-platform-app-*.zip;ugs-platform/application/target/ugs-platform-app-*.zip"
prerelease: true
tag_name: ${GITHUB_REF_NAME}
overwrite: true