mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
updated workflow
This commit is contained in:
parent
2c8ac2adec
commit
d6cd608605
1 changed files with 0 additions and 38 deletions
38
.github/workflows/release-matrix.yml
vendored
38
.github/workflows/release-matrix.yml
vendored
|
|
@ -126,44 +126,6 @@ jobs:
|
|||
asset_content_type: text/plain
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
build-arm64:
|
||||
strategy:
|
||||
matrix:
|
||||
build_type: [linux, macos, windows]
|
||||
build_arch: [x64]
|
||||
gui: [gui, cli]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: latest
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 22
|
||||
check-latest: true
|
||||
- name: Install Node modules
|
||||
run: |
|
||||
pnpm install
|
||||
- name: Get name and version from package.json
|
||||
run: |
|
||||
test -n $(node -p -e "require('./package.json').name") &&
|
||||
test -n $(node -p -e "require('./package.json').version") &&
|
||||
echo PACKAGE_NAME=$(node -p -e "require('./package.json').name") >> $GITHUB_ENV &&
|
||||
echo PACKAGE_VERSION=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV || exit 1
|
||||
- name: Make build
|
||||
run: pnpm run build-${{ matrix.build_type }}-${{ matrix.build_arch }}-${{ matrix.gui }}
|
||||
- name: Upload release
|
||||
uses: actions/upload-release-asset@v1
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_name: multi-downloader-nx-${{ matrix.build_type }}-${{ matrix.gui }}.7z
|
||||
asset_path: ./lib/_builds/multi-downloader-nx-${{ matrix.build_type }}-${{ matrix.build_arch }}-${{ matrix.gui }}.7z
|
||||
asset_content_type: application/x-7z-compressed
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
build-docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in a new issue