From 29aaa8e8cfc328b855d2a876ed2855df770cad56 Mon Sep 17 00:00:00 2001 From: hustcer Date: Thu, 19 Sep 2024 00:19:43 +0800 Subject: [PATCH] deps: Update Nu to v0.98 for workflows --- .github/workflows/npm-release.yml | 16 ++++++++-------- .github/workflows/sync-base.yml | 10 +++++----- .github/workflows/test-release.yml | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index ab15501..5186432 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -13,21 +13,21 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4 - name: Set the release version shell: bash run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV - name: Install node - uses: actions/setup-node@v4.0.3 + uses: actions/setup-node@v4 with: node-version: '20' registry-url: 'https://registry.npmjs.org' - uses: hustcer/setup-nu@v3 with: - version: 0.96.0 + version: 0.98.0 - name: Publish to NPM run: nu nu/npm.nu each --sync @@ -41,21 +41,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4 - name: Set the release version shell: bash run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV - name: Install node - uses: actions/setup-node@v4.0.3 + uses: actions/setup-node@v4 with: node-version: '20' registry-url: 'https://registry.npmjs.org' - uses: hustcer/setup-nu@v3 with: - version: 0.96.0 + version: 0.98.0 - name: Publish the base package continue-on-error: true @@ -75,10 +75,10 @@ jobs: name: Test Nu@npm on x64-${{matrix.os}} steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v4.0.3 + uses: actions/setup-node@v4 with: node-version: '20' registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/sync-base.yml b/.github/workflows/sync-base.yml index c0e4e40..da27321 100644 --- a/.github/workflows/sync-base.yml +++ b/.github/workflows/sync-base.yml @@ -11,21 +11,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4 - name: Set the release version shell: bash run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV - name: Install node - uses: actions/setup-node@v4.0.3 + uses: actions/setup-node@v4 with: node-version: '20' registry-url: 'https://registry.npmjs.org' - uses: hustcer/setup-nu@v3 with: - version: 0.96.0 + version: 0.98.0 - name: Publish the base package continue-on-error: true @@ -45,10 +45,10 @@ jobs: name: Test Nu@npm on x64-${{matrix.os}} steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v4.0.3 + uses: actions/setup-node@v4 with: node-version: '20' registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index c0c62fd..55349cb 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -16,10 +16,10 @@ jobs: name: Test Nu@npm on x64-${{matrix.os}} steps: - name: Checkout - uses: actions/checkout@v4.1.7 + uses: actions/checkout@v4 - name: Install node - uses: actions/setup-node@v4.0.3 + uses: actions/setup-node@v4 with: node-version: '20' registry-url: 'https://registry.npmjs.org'