diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml deleted file mode 100644 index cb8c3bc..0000000 --- a/.github/workflows/gh-pages.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: github pages - -on: - push: - branches: - - master - tags: - - 'v*' -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: actions/setup-node@v1 - - run: yarn - - run: yarn docs - - run: | - PACKAGE_VERSION=$(cat package.json|jq -r '.version') - echo "PACKAGE_VERSION=${PACKAGE_VERSION}" >> $GITHUB_ENV - echo "DESTINATION=${GITHUB_REF##*/}" >> $GITHUB_ENV - - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/node-openjtalk-binding/${{ env.PACKAGE_VERSION }} - destination_dir: ${{ env.DESTINATION }} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4486aa0..072f2c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ jobs: name: Prebuild runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [macos-10.15, ubuntu-20.04, ubuntu-18.04, windows-2019] node: [12, 14, 16, 17] @@ -41,6 +42,7 @@ jobs: container: image: node:${{ matrix.node }}-alpine strategy: + fail-fast: false matrix: node: [12, 14, 16, 17] steps: @@ -65,32 +67,3 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: path: "build/stage/**/*.tar.gz" - - publish-prerelease: - runs-on: ubuntu-latest - needs: [build, build_musl] - if: github.event.release.prerelease - steps: - - uses: actions/checkout@v2 - - run: | - PACKAGE_VERSION=$(cat package.json|jq -r '.version') - HOMEPAGE=$(cat package.json|jq -r '.homepage') - [[ "v${PACKAGE_VERSION}" == ${HOMEPAGE##*/} ]] - - uses: JS-DevTools/npm-publish@v1 - with: - token: ${{ secrets.NPM_TOKEN }} - tag: next - - publish-release: - runs-on: ubuntu-latest - needs: [build, build_musl] - if: ${{ !github.event.release.prerelease }} - steps: - - uses: actions/checkout@v2 - - run: | - PACKAGE_VERSION=$(cat package.json|jq -r '.version') - HOMEPAGE=$(cat package.json|jq -r '.homepage') - [[ "v${PACKAGE_VERSION}" == ${HOMEPAGE##*/} ]] - - uses: JS-DevTools/npm-publish@v1 - with: - token: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 81095f0..f666492 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-openjtalk-binding", - "version": "1.99.0", + "version": "1.99.1", "main": "addon.js", "types": "addon.d.ts", "license": "(MIT OR Unlicense)", @@ -38,7 +38,7 @@ "module_path": "./prebuild/{node_abi}-napi-v{napi_build_version}-{platform}-{arch}-{libc}-{libc_version}/", "remote_path": "v{version}", "package_name": "{module_name}-v{version}-{node_abi}-napi-v{napi_build_version}-{platform}-{arch}-{libc}-{libc_version}.tar.gz", - "host": "https://github.com/tignear/node-openjtalk-binding/releases/download/", + "host": "https://github.com/v-ut-d/node-openjtalk-binding/releases/download/", "napi_versions": [ 5 ]