mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
Update check-dist.yml
This commit is contained in:
parent
53e15292cd
commit
ce0e0b088d
1 changed files with 6 additions and 6 deletions
12
.github/workflows/check-dist.yml
vendored
12
.github/workflows/check-dist.yml
vendored
|
@ -18,15 +18,15 @@ on:
|
|||
|
||||
jobs:
|
||||
check-dist:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@main
|
||||
|
||||
- name: Set Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
- name: Set Node.js 18.x
|
||||
uses: actions/setup-node@main
|
||||
with:
|
||||
node-version: 16.x
|
||||
node-version: 18.x
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
|
@ -45,7 +45,7 @@ jobs:
|
|||
id: diff
|
||||
|
||||
# If index.js was different than expected, upload the expected version as an artifact
|
||||
- uses: actions/upload-artifact@v2
|
||||
- uses: actions/upload-artifact@main
|
||||
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
||||
with:
|
||||
name: dist
|
||||
|
|
Loading…
Add table
Reference in a new issue