diff --git a/.github/workflows/build-linux-installer-deb.yml b/.github/workflows/build-linux-installer-deb.yml index c5e71d6..cfb6830 100644 --- a/.github/workflows/build-linux-installer-deb.yml +++ b/.github/workflows/build-linux-installer-deb.yml @@ -31,7 +31,7 @@ jobs: access_token: ${{ github.token }} - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive @@ -45,7 +45,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Cache npm - uses: actions/cache@v2.1.6 + uses: actions/cache@v3 env: cache-name: cache-node-modules with: @@ -63,7 +63,7 @@ jobs: echo "::set-output name=dir::$(pip cache dir)" - name: Cache pip - uses: actions/cache@v2.1.6 + uses: actions/cache@v3 with: # Note that new runners may break this https://github.com/actions/cache/issues/292 path: ${{ steps.pip-cache.outputs.dir }} @@ -82,7 +82,7 @@ jobs: deactivate # Get the most recent release from chia-plotter-madmax - - uses: actions/github-script@v4 + - uses: actions/github-script@v6 id: 'latest-madmax' with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -103,7 +103,7 @@ jobs: chmod +x "$GITHUB_WORKSPACE/madmax/ethgreen_plot_k34" # Get the most recent release from bladebit - - uses: actions/github-script@v4 + - uses: actions/github-script@v6 id: 'latest-bladebit' with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -129,10 +129,10 @@ jobs: run: | sh install.sh - - name: Setup Node 12.x - uses: actions/setup-node@v2.4.1 + - name: Setup Node 16.x + uses: actions/setup-node@v3 with: - node-version: '12.x' + node-version: '16.x' - name: Add jq run: | @@ -148,7 +148,7 @@ jobs: sh build_linux_deb.sh amd64 - name: Upload Linux artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Linux-Installers path: ${{ github.workspace }}/build_scripts/final_installer/ diff --git a/.github/workflows/build-macos-installer.yml b/.github/workflows/build-macos-installer.yml index d44d945..d5fa9b3 100644 --- a/.github/workflows/build-macos-installer.yml +++ b/.github/workflows/build-macos-installer.yml @@ -31,7 +31,7 @@ jobs: access_token: ${{ github.token }} - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive @@ -40,12 +40,12 @@ jobs: run: bash build_scripts/clean-runner.sh || true - name: Setup Python environment - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Cache npm - uses: actions/cache@v2.1.6 + uses: actions/cache@v3 env: cache-name: cache-node-modules with: @@ -63,7 +63,7 @@ jobs: echo "::set-output name=dir::$(pip cache dir)" - name: Cache pip - uses: actions/cache@v2.1.6 + uses: actions/cache@v3 with: # Note that new runners may break this https://github.com/actions/cache/issues/292 path: ${{ steps.pip-cache.outputs.dir }} @@ -89,7 +89,7 @@ jobs: p12-password: ${{ secrets.APPLE_DEV_ID_APP_PASS }} # Get the most recent release from chia-plotter-madmax - - uses: actions/github-script@v4 + - uses: actions/github-script@v6 id: 'latest-madmax' with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -116,10 +116,10 @@ jobs: run: | sh install.sh - - name: Setup Node 14.x - uses: actions/setup-node@v2.4.1 + - name: Setup Node 16.x + uses: actions/setup-node@v3 with: - node-version: '14.x' + node-version: '16.x' - name: Build MacOS DMG in Catalina env: @@ -134,7 +134,7 @@ jobs: sh build_macos.sh - name: Upload MacOS artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Ethgreen-Installer-on-MacOS-10.15-dmg path: ${{ github.workspace }}/build_scripts/final_installer/ diff --git a/.github/workflows/build-windows-installer.yml b/.github/workflows/build-windows-installer.yml index c86996b..7de020b 100644 --- a/.github/workflows/build-windows-installer.yml +++ b/.github/workflows/build-windows-installer.yml @@ -25,7 +25,7 @@ jobs: access_token: ${{ github.token }} - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 submodules: recursive @@ -36,7 +36,7 @@ jobs: echo "::set-output name=dir::$(npm config get cache)" - name: Cache npm - uses: actions/cache@v2.1.6 + uses: actions/cache@v3 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -49,7 +49,7 @@ jobs: echo "::set-output name=dir::$(pip cache dir)" - name: Cache pip - uses: actions/cache@v2.1.6 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} @@ -57,7 +57,7 @@ jobs: ${{ runner.os }}-pip- # We can't upgrade to Python 3.8 until we have a miniupnpc binary - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 name: Install Python 3.9 with: python-version: "3.9" @@ -75,7 +75,7 @@ jobs: deactivate # Get the most recent release from chia-plotter-madmax - - uses: actions/github-script@v4 + - uses: actions/github-script@v6 id: 'latest-madmax' with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -94,7 +94,7 @@ jobs: Invoke-WebRequest https://github.com/Chia-Network/chia-plotter-madmax/releases/download/${{ steps.latest-madmax.outputs.result }}/chia_plot_k34-${{ steps.latest-madmax.outputs.result }}.exe -OutFile "$env:GITHUB_WORKSPACE\madmax\ethgreen_plot_k34.exe" # Get the most recent release from bladebit - - uses: actions/github-script@v4 + - uses: actions/github-script@v6 id: 'latest-bladebit' with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -123,13 +123,13 @@ jobs: .\build_scripts\build_windows.ps1 - name: Upload Windows exe's to artifacts - uses: actions/upload-artifact@v2.2.2 + uses: actions/upload-artifact@v3 with: name: Windows-Exe path: ${{ github.workspace }}\ethgreen-blockchain-gui\Ethgreen-win32-x64\ - name: Upload Installer to artifacts - uses: actions/upload-artifact@v2.2.2 + uses: actions/upload-artifact@v3 with: name: Windows-Installers path: ${{ github.workspace }}\ethgreen-blockchain-gui\release-builds\