diff --git a/.github/workflows/build-exe.yml b/.github/workflows/build-exe.yml index 975b5d3..f203db9 100644 --- a/.github/workflows/build-exe.yml +++ b/.github/workflows/build-exe.yml @@ -11,6 +11,8 @@ jobs: steps: - uses: actions/checkout@v5 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v6 with: @@ -23,7 +25,7 @@ jobs: run: | python application/setup.py build - name: Store the built application - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: splitguides-app path: build/SplitGuides_v*.zip @@ -40,12 +42,12 @@ jobs: id-token: write # IMPORTANT: mandatory for sigstore steps: - name: Download the zipapp - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: splitguides-app path: dist/ - name: Sign the zipapp with Sigstore - uses: sigstore/gh-action-sigstore-python@v3.0.1 + uses: sigstore/gh-action-sigstore-python@v3.1.0 with: release-signing-artifacts: false inputs: >- diff --git a/.github/workflows/publish_to_pypi.yml b/.github/workflows/publish_to_pypi.yml index ed4ad51..a8a5c65 100644 --- a/.github/workflows/publish_to_pypi.yml +++ b/.github/workflows/publish_to_pypi.yml @@ -11,6 +11,8 @@ jobs: steps: - uses: actions/checkout@v5 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v6 with: @@ -24,7 +26,7 @@ jobs: - name: Build a binary wheel and a source tarball run: python3 -m build - name: Store the distribution packages - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: python-package-distributions path: dist/ @@ -43,7 +45,7 @@ jobs: steps: - name: Download all the dists - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: python-package-distributions path: dist/ @@ -64,12 +66,12 @@ jobs: steps: - name: Download all the dists - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: python-package-distributions path: dist/ - name: Sign the dists with Sigstore - uses: sigstore/gh-action-sigstore-python@v3.0.1 + uses: sigstore/gh-action-sigstore-python@v3.1.0 with: release-signing-artifacts: false inputs: >- diff --git a/.github/workflows/test-builds.yml b/.github/workflows/test-builds.yml index dfb02ee..865e43f 100644 --- a/.github/workflows/test-builds.yml +++ b/.github/workflows/test-builds.yml @@ -14,6 +14,8 @@ jobs: steps: - uses: actions/checkout@v5 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v6 with: @@ -26,7 +28,7 @@ jobs: run: >- python application/setup.py build - name: Store the built app - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: splitguides-app-dev path: build/SplitGuides_v*.zip @@ -37,22 +39,24 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v5 - - name: Set up Python - uses: actions/setup-python@v6 - with: - python-version: "3.12" - - name: Install pypa/build - run: >- - python3 -m - pip install - build - --user - - name: Build a binary wheel and a source tarball - run: python3 -m build - - name: Store the distribution packages - uses: actions/upload-artifact@v4 - with: - name: python-package-distributions - path: dist/ - retention-days: 1 \ No newline at end of file + - uses: actions/checkout@v5 + with: + fetch-depth: 0 + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: "3.12" + - name: Install pypa/build + run: >- + python3 -m + pip install + build + --user + - name: Build a binary wheel and a source tarball + run: python3 -m build + - name: Store the distribution packages + uses: actions/upload-artifact@v5 + with: + name: python-package-distributions + path: dist/ + retention-days: 1 \ No newline at end of file