diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index efdb31a..2ea34a6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,9 @@ on: test: type: boolean description: Skip publishing step + no-tag-check: + type: boolean + description: Skip tag checking step push: tags: - "*" @@ -54,8 +57,8 @@ jobs: - name: 🦥 Cache Dependencies uses: actions/cache@v4 with: - key: venmic-arm-deps - path: build/_deps + key: venmic-arm + path: build - name: 🏗️ Build Addon uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 @@ -88,6 +91,7 @@ jobs: uses: actions/checkout@v4 - name: 🛑 Check Tag + if: "${{ github.event.inputs.no-tag-check != 'true' }}" run: | dnf install -y jq pkg_version="v$(jq -r .version < package.json)" @@ -103,7 +107,7 @@ jobs: registry-url: "https://registry.npmjs.org" - name: 🍃 Install pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v3 with: version: 8 run_install: false @@ -112,7 +116,7 @@ jobs: run: pnpm install --ignore-scripts - name: 📦 Download Build (x86_64) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: addon-x86_64 path: build/Release @@ -121,7 +125,7 @@ jobs: run: pnpm pkg-prebuilds-copy --baseDir build/Release --source venmic-addon.node --name=venmic-addon --strip --napi_version=7 --arch=x64 - name: 📦 Download Build (arm64) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: addon-arm64 path: build/Release