mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-10 18:36:45 +02:00
chore: update github actions (#351)
This commit is contained in:
parent
e6cbccdadc
commit
59fcd073e3
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
@ -13,12 +13,12 @@ jobs:
|
|||
if: github.repository_owner == 'iconoir-icons'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
|
|
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
# We have to checkout main or PNPM fails. Tag should be on main anyway.
|
||||
ref: main
|
||||
|
@ -19,7 +19,7 @@ jobs:
|
|||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- name: Install pnpm
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
continue-on-error: true
|
||||
|
||||
- name: Publish Flutter
|
||||
uses: k-paxian/dart-package-publisher@v1.5.1
|
||||
uses: k-paxian/dart-package-publisher@v1.6
|
||||
with:
|
||||
credentialJson: ${{ secrets.PUB_CREDENTIAL_JSON }}
|
||||
relativePath: ./packages/iconoir-flutter
|
||||
|
|
10
.github/workflows/website.yaml
vendored
10
.github/workflows/website.yaml
vendored
|
@ -18,12 +18,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
|
@ -59,10 +59,10 @@ jobs:
|
|||
working-directory: iconoir.com
|
||||
|
||||
- name: Setup GitHub Pages
|
||||
uses: actions/configure-pages@v2
|
||||
uses: actions/configure-pages@v3
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
with:
|
||||
path: './iconoir.com/out'
|
||||
|
||||
|
@ -76,4 +76,4 @@ jobs:
|
|||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v1
|
||||
uses: actions/deploy-pages@v2
|
||||
|
|
Loading…
Reference in a new issue