diff --git a/.github/workflows/macos-release.yml b/.github/workflows/macos-release.yml index 0508eb005..b972036bb 100644 --- a/.github/workflows/macos-release.yml +++ b/.github/workflows/macos-release.yml @@ -20,9 +20,9 @@ jobs: steps: - uses: actions/checkout@master - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - name: Build run: | python -m pip install --upgrade pip @@ -47,8 +47,8 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: FeelUOwnX.zip - path: dist/FeelUOwnX.zip + name: FeelUOwnX-macOS{{ env.DIST_MACOS_VERSION }}-{{ env.DIST_ARCH }.zip + path: dist/FeelUOwnX-macOS{{ env.DIST_MACOS_VERSION }}-{{ env.DIST_ARCH }.zip - name: Upload to release page if: startsWith(github.ref, 'refs/tags/v') uses: softprops/action-gh-release@v1 @@ -56,8 +56,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: files: dist/FeelUOwnX-macOS{{ env.DIST_MACOS_VERSION }}-{{ env.DIST_ARCH }.zip - - name: Upload to release page - if: startsWith(github.ref, 'master') + - name: Upload to nightly + if: github.ref == 'refs/heads/master' uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}