Skip to content

Commit

Permalink
ci: remove debug logic
Browse files Browse the repository at this point in the history
  • Loading branch information
lsndr committed Dec 26, 2023
1 parent 0caeb5b commit 4eac829
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 50 deletions.
49 changes: 1 addition & 48 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,51 +443,4 @@ jobs:
with:
name: bindings-universal-apple-darwin
path: ${{ env.APP_NAME }}.*.node
if-no-files-found: error
# publish:
# name: Publish
# runs-on: ubuntu-latest
# needs:
# - build-freebsd
# - test-macOS-windows-binding
# - test-linux-x64-gnu-binding
# - test-linux-x64-musl-binding
# - test-linux-aarch64-gnu-binding
# - test-linux-aarch64-musl-binding
# - test-linux-arm-gnueabihf-binding
# - universal-macOS
# steps:
# - uses: actions/checkout@v3
# - name: Setup node
# uses: actions/setup-node@v3
# with:
# node-version: 18
# check-latest: true
# cache: yarn
# - name: Install dependencies
# run: yarn install
# - name: Download all artifacts
# uses: actions/download-artifact@v3
# with:
# path: artifacts
# - name: Move artifacts
# run: yarn artifacts
# - name: List packages
# run: ls -R ./npm
# shell: bash
# - name: Publish
# run: |
# if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
# then
# echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
# npm publish --access public
# elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
# then
# echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
# npm publish --tag next --access public
# else
# echo "Not a release, skipping publish"
# fi
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
if-no-files-found: error
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Release
on:
push:
branches:
- ci/use-semantic-release
- master
- next
- "*.x"
Expand Down
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
"@semantic-release/npm",
"@semantic-release/git"
],
"branches": ["+([0-9])?(.{+([0-9]),x}).x", "master", {"name": "next", "prerelease": true}, {"name": "ci/use-semantic-release", "channel": "test", "prerelease": "test"}]
"branches": ["+([0-9])?(.{+([0-9]),x}).x", "master", {"name": "next", "prerelease": true}]
}

0 comments on commit 4eac829

Please sign in to comment.