diff --git a/.github/workflows/build-on-release.yml b/.github/workflows/build-on-release.yml index d8a91237..276eafa7 100644 --- a/.github/workflows/build-on-release.yml +++ b/.github/workflows/build-on-release.yml @@ -82,7 +82,7 @@ jobs: if: matrix.os == 'macos-latest' shell: bash run: | - pyinstaller --target-architecture universal2 krr.py + pyinstaller --target-architecture arm64 krr.py mkdir -p ./dist/krr/grapheme/data cp $(python -c "import grapheme; print(grapheme.__path__[0] + '/data/grapheme_break_property.json')") ./dist/krr/grapheme/data/grapheme_break_property.json cp ./intro.txt ./dist/krr/intro.txt diff --git a/.github/workflows/update-code-version.yml b/.github/workflows/update-code-version.yml index bc0087da..a4d22dc7 100644 --- a/.github/workflows/update-code-version.yml +++ b/.github/workflows/update-code-version.yml @@ -18,6 +18,12 @@ jobs: - name: Extract version from tag run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV + - name: Fetch all branches + run: git fetch --all + + - name: Set up the remote repository + run: git remote add origin https://github.com/${{ github.repository }}.git + - name: Select main branch run: git checkout origin/main