diff --git a/.github/workflows/cd-linux.yaml b/.github/workflows/cd-linux.yaml index 6373e724..90c745c5 100644 --- a/.github/workflows/cd-linux.yaml +++ b/.github/workflows/cd-linux.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check version tag format run: | TAG_VERSION="${{ github.event.release.tag_name }}" @@ -29,7 +29,7 @@ jobs: needs: version-check steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install required packages run: | apt update @@ -52,7 +52,7 @@ jobs: pyinstaller \ ci-scripts/linux/pyinstaller/pynitrokey-onefile.spec - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nitropy-onefile path: dist/nitropy @@ -65,7 +65,7 @@ jobs: contents: write steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: nitropy-onefile - name: Rename binary @@ -80,6 +80,6 @@ jobs: nitropy-${{ github.event.release.tag_name }}-x64-linux-binary.tar.gz \ nitropy-${{ github.event.release.tag_name }}-x64-linux-binary - name: Publish release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: nitropy-${{ github.event.release.tag_name }}-x64-linux-binary.tar.gz \ No newline at end of file diff --git a/.github/workflows/cd-pypi.yaml b/.github/workflows/cd-pypi.yaml index 68413eae..31abf7b1 100644 --- a/.github/workflows/cd-pypi.yaml +++ b/.github/workflows/cd-pypi.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check version tag format run: | TAG_VERSION="${{ github.event.release.tag_name }}" @@ -29,7 +29,7 @@ jobs: needs: version-check steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install required packages run: | apt update @@ -45,7 +45,7 @@ jobs: . venv/bin/activate flit build - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nitropy-pypi path: dist @@ -56,11 +56,11 @@ jobs: needs: build steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: nitropy-pypi - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install required packages run: | apt update diff --git a/.github/workflows/cd-windows.yaml b/.github/workflows/cd-windows.yaml index bb7e3331..b4666107 100644 --- a/.github/workflows/cd-windows.yaml +++ b/.github/workflows/cd-windows.yaml @@ -13,7 +13,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check version tag format run: | $VERSION_TAG="${{ github.event.release.tag_name }}" @@ -29,7 +29,7 @@ jobs: needs: version-check steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create virtual environment run: | python -m venv venv @@ -49,7 +49,7 @@ jobs: .\venv\Scripts\Activate.ps1 pyinstaller ci-scripts/windows/pyinstaller/pynitrokey-onedir.spec - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pynitrokey-onedir path: dist/nitropy @@ -59,7 +59,7 @@ jobs: needs: version-check steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create virtual environment run: | python -m venv venv @@ -79,7 +79,7 @@ jobs: .\venv\Scripts\Activate.ps1 pyinstaller ci-scripts/windows/pyinstaller/pynitrokey-onefile.spec - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pynitrokey-onefile path: dist/nitropy.exe @@ -89,9 +89,9 @@ jobs: needs: build-onedir steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pynitrokey-onedir path: dist/nitropy @@ -127,7 +127,7 @@ jobs: .\Sources.wixobj ` -o nitropy.msi - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nitropy-installer path: nitropy.msi @@ -139,7 +139,7 @@ jobs: contents: write steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pynitrokey-onefile - name: Rename binary @@ -153,7 +153,7 @@ jobs: nitropy-${{ github.event.release.tag_name }}-x64-windows-binary.zip ` nitropy-${{ github.event.release.tag_name }}-x64-windows-binary.exe - name: Publish release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: nitropy-${{ github.event.release.tag_name }}-x64-windows-binary.zip publish-msi-installer: @@ -164,7 +164,7 @@ jobs: contents: write steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: nitropy-installer - name: Rename installer @@ -173,6 +173,6 @@ jobs: nitropy.msi ` nitropy-${{ github.event.release.tag_name }}-x64-windows-installer.msi - name: Publish release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: nitropy-${{ github.event.release.tag_name }}-x64-windows-installer.msi \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0452fe87..5af59b9a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,7 @@ jobs: container: python:3.9-slim steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install required packages run: | apt update @@ -32,7 +32,7 @@ jobs: container: python:3.9-slim steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install required packages run: | apt update @@ -49,7 +49,7 @@ jobs: container: python:3.9-slim steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install required packages run: | apt update @@ -66,7 +66,7 @@ jobs: container: python:3.9-slim steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install required packages run: | apt update