diff --git a/.github/workflows/_build-macos.yaml b/.github/workflows/_build-macos.yaml index dd65fa0..53d6dc9 100644 --- a/.github/workflows/_build-macos.yaml +++ b/.github/workflows/_build-macos.yaml @@ -28,8 +28,8 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 - with: - cache: 'poetry' +# with: +# cache: 'poetry' - name: Install dependencies run: poetry install @@ -55,6 +55,7 @@ jobs: name: NiimPrintX-Installer-${{ steps.get_tag_name.outputs.VERSION }}-MacOSX-${{ steps.get_architecture.outputs.ARCH }}.dmg path: dist/NiimPrintX-Installer-${{ steps.get_tag_name.outputs.VERSION }}-MacOSX.dmg retention-days: 1 + - name: Upload CLI package uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/mac-dmg-builder.sh b/.github/workflows/mac-dmg-builder.sh index 8e43464..30c38ed 100755 --- a/.github/workflows/mac-dmg-builder.sh +++ b/.github/workflows/mac-dmg-builder.sh @@ -19,6 +19,8 @@ fi # Since create-dmg does not clobber, be sure to delete previous DMG [[ -f "${DMG_FILE_NAME}" ]] && rm "${DMG_FILE_NAME}" +echo killing...; sudo pkill -9 XProtect >/dev/null || true; +echo waiting...; while pgrep XProtect; do sleep 3; done; # Create the DMG create-dmg \ --volname "${VOLUME_NAME}" \ diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index 96d3dee..232af2f 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -29,3 +29,11 @@ jobs: - name: Display structure of downloaded files run: ls -R release + + - name: Create GitHub Release + id: create_release + uses: softprops/action-gh-release@v2 + with: + files: | + release/* + generate_release_notes: true