upgrade CALM to 1.3.1 to fix macos-14 arm64 codesign problem #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
permissions: | |
contents: write | |
on: | |
push: | |
tags: | |
- "*.*.*" | |
- "test-*" | |
jobs: | |
Linux: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
set -x | |
curl -L -o calm.tgz https://github.com/VitoVan/calm/releases/download/1.3.1/calm.tgz | |
mkdir calm | |
tar xvf calm.tgz | |
ls -lah calm | |
export PATH=$PATH:$(pwd)/calm/ | |
export APP_NAME=Focalizzare | |
export APP_ICON="$(pwd)/images/icon.png" | |
calm publish | |
ls -lah . | |
- name: GH Release | |
uses: softprops/[email protected] | |
with: | |
draft: true | |
files: | | |
*.AppImage | |
macOS: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-12, macos-13, macos-14] | |
env: | |
CI_MATRIX_OS: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
set -x | |
export OS_SUBFIX=".${CI_MATRIX_OS}" | |
curl -L -o calm.dmg https://github.com/VitoVan/calm/releases/download/1.3.1/calm${OS_SUBFIX}.dmg | |
hdiutil attach calm.dmg | |
cp -R "/Volumes/Calm - CALM/Calm.app/Contents/MacOS/" calm | |
ls -lah calm | |
rm calm.dmg | |
export PATH=$PATH:$(pwd)/calm/ | |
export APP_ICON="$(pwd)/images/icon.icns" | |
export DMG_ICON="$(pwd)/images/icon-dmg.icns" | |
export APP_VERSION=1.1.3 | |
export APP_ID=com.vitovan.focalizzare | |
export APP_NAME=Focalizzare | |
calm publish | |
ls -lah . | |
mv *.dmg Focalizzare${OS_SUBFIX}.dmg | |
- name: GH Release | |
uses: softprops/[email protected] | |
with: | |
draft: true | |
files: | | |
*.dmg | |
Windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: msys2/setup-msys2@v2 | |
- name: Build | |
shell: msys2 {0} | |
run: | | |
set -x | |
pacman -S --noconfirm --needed unzip | |
curl -L -o calm.zip https://github.com/VitoVan/calm/releases/download/1.3.1/calm.zip | |
unzip calm.zip | |
ls -lah calm | |
export PATH=$PATH:$(pwd)/calm/ | |
export APP_ICON="$(pwd)/images/icon.ico" | |
export APP_NAME=Focalizzare | |
calm publish | |
mv ./*-Installer.exe ./Focalizzare.exe | |
ls -lah . | |
- name: GH Release | |
uses: softprops/[email protected] | |
with: | |
draft: true | |
files: | | |
*.exe |