- Rename project name and package: novelWriter -> UmbraEdit, novelwriter -> umbraedit - Rename entry script novelWriter.py -> UmbraEdit.py - Rename package directory novelwriter/ -> umbraedit/ - Rename i18n translation sources nw_*.ts -> ue_*.ts - Rename packaging files (appdata, project xml template) - Update all imports, references, docs, workflows, tests and build config - Update pyproject.toml project name, GUI script and URLs - Preserve full upstream git history; origin repointed below
38 lines
952 B
YAML
38 lines
952 B
YAML
name: Part MacOS M1
|
|
|
|
on: workflow_call
|
|
|
|
jobs:
|
|
buildMac-M1:
|
|
name: Build on MacOS AARCH64
|
|
runs-on: macos-latest
|
|
permissions:
|
|
contents: read
|
|
env:
|
|
PYTHON_VERSION: "3.13"
|
|
PACKAGE_ARCH: aarch64
|
|
MINICONDA_ARCH: arm64
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Download Artifacts
|
|
uses: actions/download-artifact@v8
|
|
with:
|
|
name: nw-assets
|
|
path: umbraedit/assets
|
|
|
|
- name: Build App Bundle
|
|
id: build
|
|
run: |
|
|
echo "BUILD_VERSION=$(python pkgutils.py version)" >> $GITHUB_OUTPUT
|
|
./setup/macos/build.sh $PYTHON_VERSION $PACKAGE_ARCH $MINICONDA_ARCH
|
|
|
|
- name: Upload DMG
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: UmbraEdit-${{ steps.build.outputs.BUILD_VERSION }}-MacOS-M1-DMG
|
|
path: dist_macos/*.dmg*
|
|
if-no-files-found: error
|
|
retention-days: 14
|