Skip to content

Commit

Permalink
Merge pull request #6 from femshima/vutd2
Browse files Browse the repository at this point in the history
  • Loading branch information
cm-ayf authored Feb 26, 2022
2 parents 85baf5a + 72e96c3 commit 7c08901
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 58 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/gh-pages.yml

This file was deleted.

31 changes: 2 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -41,6 +42,7 @@ jobs:
container:
image: node:${{ matrix.node }}-alpine
strategy:
fail-fast: false
matrix:
node: [12, 14, 16, 17]
steps:
Expand All @@ -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 }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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)",
Expand Down Expand Up @@ -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
]
Expand Down

0 comments on commit 7c08901

Please sign in to comment.