Skip to content

Commit

Permalink
Update actions and agent versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rajsite committed Apr 24, 2024
1 parent 3ee566d commit 8f45419
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ on:
jobs:
lint:
# if: 'false'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 25
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Install lint dependencies
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.7'
- uses: actions/setup-node@v1
python-version: '3.12'
- uses: actions/setup-node@v4
with:
node-version: '12'
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: npm ci

Expand All @@ -34,22 +34,22 @@ jobs:

web:
# if: 'false'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 25
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Install web dependencies
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.7'
python-version: '3.12'
- run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- run: nohup python -m httpbin.core --port 64526 --host 0.0.0.0 &
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '12'
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: |
Expand Down Expand Up @@ -95,22 +95,22 @@ jobs:

web-windows:
# if: 'false'
runs-on: windows-2016
runs-on: windows-2022
timeout-minutes: 25
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Install web-windows dependencies
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '12'
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: chocolatey install make -y
- run: chocolatey install gnuwin32-coreutils.portable -y
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.7'
python-version: '3.12'
- run: |
python -m pip install --upgrade pip
pip install tox
Expand All @@ -127,7 +127,7 @@ jobs:
# Build web-windows
- run: emsdk\emsdk_env.ps1 && make vjs
- run: npm pack
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: npm package win build
path: ./vireo-*.tgz
Expand All @@ -139,7 +139,7 @@ jobs:
- run: npm run test-min

setup:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 25
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
Expand All @@ -159,16 +159,16 @@ jobs:
windows:
# if: 'false'
needs: setup
runs-on: windows-2016
runs-on: windows-2022
timeout-minutes: 25
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Install windows dependencies
- uses: microsoft/setup-msbuild@v1
- uses: actions/setup-node@v1
- uses: microsoft/setup-msbuild@v2
- uses: actions/setup-node@v4
with:
node-version: '12'
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: npm ci

Expand All @@ -184,14 +184,14 @@ jobs:
- run: 7z a %ESH_32_DEBUG% .\dist\Debug\esh.exe .\dist\Debug\esh.pdb .\README.md .\LICENSE.txt
shell: cmd
working-directory: ${{env.GITHUB_WORKSPACE}}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: ${{ env.ESH_32_DEBUG }}
path: ${{ env.ESH_32_DEBUG }}
if-no-files-found: error
- uses: nuget/setup-nuget@v1
- uses: nuget/setup-nuget@v2
- run: nuget pack VireoSDK.nuspec -properties version="$Env:ESH_VERSION"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: nuget package
path: ./*.nupkg
Expand Down Expand Up @@ -219,15 +219,15 @@ jobs:
linux:
# if: 'false'
needs: setup
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 25
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Install linux dependencies
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '12'
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: echo gcc -v
Expand All @@ -240,7 +240,7 @@ jobs:
export ESH_64_RELEASE="esh_"$ESH_VERSION"_x86_64-unknown-linux-gnu_release.zip"
echo "ESH_64_RELEASE=$ESH_64_RELEASE" >> $GITHUB_ENV
- run: zip -j $ESH_64_RELEASE dist/esh README.md LICENSE.txt
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: ${{ env.ESH_64_RELEASE }}
path: ${{ env.ESH_64_RELEASE }}
Expand Down

0 comments on commit 8f45419

Please sign in to comment.