Skip to content

Commit

Permalink
Workflows update
Browse files Browse the repository at this point in the history
  • Loading branch information
ethgreen committed Nov 8, 2022
1 parent 887d6d4 commit e3200f3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-linux-installer-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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: |
Expand All @@ -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/
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build-macos-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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:
Expand All @@ -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/
16 changes: 8 additions & 8 deletions .github/workflows/build-windows-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') }}
Expand All @@ -49,15 +49,15 @@ 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') }}
restore-keys: |
${{ 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"
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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\
Expand Down

0 comments on commit e3200f3

Please sign in to comment.