diff --git a/.github/workflows/publish-rolling.yml b/.github/workflows/publish-rolling.yml index 5c006271..2fd84603 100644 --- a/.github/workflows/publish-rolling.yml +++ b/.github/workflows/publish-rolling.yml @@ -34,48 +34,3 @@ jobs: - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - pkg: - runs-on: ubuntu-latest - - strategy: - matrix: - node: [14] - - steps: - - uses: actions/checkout@v2 - - - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node }} - registry-url: 'https://registry.npmjs.org' - - - run: npm ci - - run: sudo npm install -g pkg - - - name: Tag rolling release - run: | - npm version --no-git-tag-version 0.0.0-master.`git rev-parse --short HEAD` - - - name: Build executables - run: | - npm run build-pkg - - - name: 'Upload executable: Linux' - uses: actions/upload-artifact@v2 - with: - name: flood-linux - path: flood-linux - - - name: 'Upload executable: MacOS' - uses: actions/upload-artifact@v2 - with: - name: flood-macos - path: flood-macos - - - name: 'Upload executable: Windows' - uses: actions/upload-artifact@v2 - with: - name: flood-win - path: flood-win.exe diff --git a/README.md b/README.md index e531dfa6..6a39c326 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,6 @@ Check out the [Wiki](https://github.com/jesec/flood/wiki) for more information. - For Windows, try [this guide](https://rtwi.jmk.hu/wiki/rTorrentOnWindows). 1. Install [NodeJS](https://nodejs.org/) version `Current` (you might want to manage different Node versions with [nodenv](https://github.com/nodenv/nodenv) or [nvm](https://github.com/creationix/nvm) or [n](https://github.com/tj/n)). Flood tracks latest NodeJS release and does NOT provide support to legacy NodeJS versions. -**EXPERIMENTAL**: You can download a single-executable rolling build of Flood from [Github Actions](https://github.com/jesec/flood/actions?query=workflow%3A%22Publish+rolling+build%22). It bundles `NodeJS` and supports `Linux`, `MacOS` or `Windows`. - ### Installation `sudo npm i -g flood` or `npx flood` diff --git a/package.json b/package.json index 3ead5a90..293f6e59 100644 --- a/package.json +++ b/package.json @@ -13,17 +13,9 @@ "bin": { "flood": "./dist/index.js" }, - "pkg": { - "assets": [ - "dist/assets/**/*", - "dist/geoip-country.dat", - "dist/geoip-country6.dat" - ] - }, "scripts": { "build": "npm run build-assets && npm run build-ts", "build-assets": "node client/scripts/build.js", - "build-pkg": "rm -rf dist && npm run build && pkg .", "build-ts": "rm -f node_modules/argon2-browser/dist/*.wasm; ncc build server/bin/start.ts -m -t; rm -rf dist/data", "build-docs": "jsdoc -c ./.jsdoc.json", "build-i18n": "formatjs compile --ast --format simple client/src/javascript/i18n/strings.json --out-file client/src/javascript/i18n/strings.compiled.json && formatjs compile-folder --ast --format simple client/src/javascript/i18n/translations client/src/javascript/i18n/compiled",