2022-03-21 13:20:26 +03:00
|
|
|
name: Package-Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
Lint:
|
2023-11-05 01:34:07 +03:00
|
|
|
runs-on: ubuntu-20.04
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Installing Node
|
2023-07-18 23:07:17 +03:00
|
|
|
uses: actions/setup-node@v3.7.0
|
2022-03-21 13:20:26 +03:00
|
|
|
with:
|
2023-12-23 11:59:51 +03:00
|
|
|
node-version: 18
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
- name: Install deps
|
|
|
|
run: |
|
2023-12-23 11:59:51 +03:00
|
|
|
npm i -g yarn
|
2022-03-21 13:20:26 +03:00
|
|
|
cd app
|
|
|
|
yarn
|
|
|
|
cd ..
|
|
|
|
rm app/node_modules/.yarn-integrity
|
|
|
|
yarn
|
|
|
|
|
|
|
|
- name: Build typings
|
|
|
|
run: yarn run build:typings
|
|
|
|
|
|
|
|
- name: Lint
|
|
|
|
run: yarn run lint
|
|
|
|
|
|
|
|
macOS-Build:
|
2023-11-05 16:58:45 +03:00
|
|
|
runs-on: macos-12
|
2022-03-21 13:20:26 +03:00
|
|
|
needs: Lint
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- arch: x86_64
|
|
|
|
- arch: arm64
|
2022-06-18 22:11:07 +03:00
|
|
|
fail-fast: false
|
2022-09-04 18:59:48 +03:00
|
|
|
|
2022-03-21 13:20:26 +03:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Installing Node
|
2023-07-18 23:07:17 +03:00
|
|
|
uses: actions/setup-node@v3.7.0
|
2022-03-21 13:20:26 +03:00
|
|
|
with:
|
2023-12-23 11:59:51 +03:00
|
|
|
node-version: 18
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
- name: Install deps
|
|
|
|
run: |
|
2023-11-16 00:25:26 +03:00
|
|
|
sudo -H pip3 install setuptools
|
2023-12-23 11:59:51 +03:00
|
|
|
sudo npm i -g yarn
|
2022-03-21 13:20:26 +03:00
|
|
|
yarn --network-timeout 1000000
|
|
|
|
env:
|
|
|
|
ARCH: ${{matrix.arch}}
|
|
|
|
|
|
|
|
- name: Fix cross build
|
|
|
|
run: |
|
|
|
|
rm -rf app/node_modules/cpu-features
|
|
|
|
rm -rf app/node_modules/ssh2/crypto/build
|
2022-09-04 19:04:33 +03:00
|
|
|
if: matrix.arch == 'arm64'
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
- name: Webpack
|
|
|
|
run: yarn run build
|
|
|
|
|
|
|
|
- name: Prepackage plugins
|
2023-02-26 22:42:31 +03:00
|
|
|
run: scripts/prepackage-plugins.mjs
|
2022-03-21 13:20:26 +03:00
|
|
|
env:
|
|
|
|
ARCH: ${{matrix.arch}}
|
|
|
|
|
|
|
|
- run: sed -i '' 's/updateInfo = await/\/\/updateInfo = await/g' node_modules/app-builder-lib/out/targets/ArchiveTarget.js
|
|
|
|
|
2022-10-26 10:45:12 +03:00
|
|
|
# Work around electron-builder beta bug
|
|
|
|
- run: ln -s ../../node_modules/electron app/node_modules
|
|
|
|
|
2022-03-21 13:20:26 +03:00
|
|
|
- name: Build and sign packages
|
2023-02-26 22:42:31 +03:00
|
|
|
run: scripts/build-macos.mjs
|
2022-03-21 13:20:26 +03:00
|
|
|
if: github.repository == 'Eugeny/tabby' && github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags'))
|
|
|
|
env:
|
|
|
|
ARCH: ${{matrix.arch}}
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2022-10-01 15:40:13 +03:00
|
|
|
KEYGEN_TOKEN: ${{ secrets.KEYGEN_TOKEN }}
|
2022-03-21 13:20:26 +03:00
|
|
|
CSC_LINK: ${{ secrets.CSC_LINK }}
|
|
|
|
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
|
2023-07-19 01:03:58 +03:00
|
|
|
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
2022-03-21 13:20:26 +03:00
|
|
|
APPSTORE_USERNAME: ${{ secrets.APPSTORE_USERNAME }}
|
|
|
|
APPSTORE_PASSWORD: ${{ secrets.APPSTORE_PASSWORD }}
|
|
|
|
USE_HARD_LINKS: false
|
|
|
|
# DEBUG: electron-builder,electron-builder:*
|
|
|
|
|
|
|
|
- name: Build packages without signing
|
2023-02-26 22:42:31 +03:00
|
|
|
run: scripts/build-macos.mjs
|
2023-12-23 12:14:59 +03:00
|
|
|
if: "! (github.repository == 'Eugeny/tabby' && github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')))"
|
2022-03-21 13:20:26 +03:00
|
|
|
env:
|
|
|
|
ARCH: ${{matrix.arch}}
|
|
|
|
# DEBUG: electron-builder,electron-builder:*
|
|
|
|
|
|
|
|
- name: Upload symbols
|
|
|
|
run: |
|
|
|
|
sudo npm install -g @sentry/cli --unsafe-perm
|
2023-02-26 22:42:31 +03:00
|
|
|
./scripts/sentry-upload.mjs
|
2022-03-21 13:20:26 +03:00
|
|
|
env:
|
|
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
|
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
|
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
|
|
|
|
|
|
- name: Package artifacts
|
|
|
|
run: |
|
2023-10-06 14:38:27 +03:00
|
|
|
mkdir artifact-dmg
|
|
|
|
mv dist/*.dmg artifact-dmg/
|
2022-03-21 13:20:26 +03:00
|
|
|
mkdir artifact-zip
|
|
|
|
mv dist/*.zip artifact-zip/
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
2023-10-06 14:38:27 +03:00
|
|
|
name: Upload DMG
|
2022-03-21 13:20:26 +03:00
|
|
|
with:
|
2023-10-06 14:38:27 +03:00
|
|
|
name: macOS .dmg (${{matrix.arch}})
|
|
|
|
path: artifact-dmg
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
name: Upload ZIP
|
|
|
|
with:
|
|
|
|
name: macOS .zip (${{matrix.arch}})
|
|
|
|
path: artifact-zip
|
|
|
|
|
|
|
|
Linux-Build:
|
2023-04-27 19:45:19 +03:00
|
|
|
runs-on: ubuntu-20.04
|
2022-03-21 13:20:26 +03:00
|
|
|
needs: Lint
|
2022-06-15 13:01:27 +03:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-06-26 17:28:43 +03:00
|
|
|
include:
|
|
|
|
- build-arch: x64
|
|
|
|
arch: amd64
|
|
|
|
- build-arch: arm64
|
|
|
|
arch: arm64
|
|
|
|
triplet: aarch64-linux-gnu-
|
2023-07-18 23:05:36 +03:00
|
|
|
- build-arch: arm
|
2023-06-26 17:28:43 +03:00
|
|
|
arch: armhf
|
|
|
|
triplet: arm-linux-gnueabihf-
|
|
|
|
env:
|
|
|
|
CC: ${{matrix.triplet}}gcc
|
|
|
|
CXX: ${{matrix.triplet}}g++
|
|
|
|
ARCH: ${{matrix.build-arch}}
|
|
|
|
npm_config_arch: ${{matrix.build-arch}}
|
|
|
|
npm_config_target_arch: ${{matrix.build-arch}}
|
2022-09-04 18:59:48 +03:00
|
|
|
|
2022-03-21 13:20:26 +03:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-07-18 23:05:36 +03:00
|
|
|
|
2023-06-26 17:28:43 +03:00
|
|
|
- name: Install Node
|
2023-07-18 23:07:17 +03:00
|
|
|
uses: actions/setup-node@v3.7.0
|
2022-03-21 13:20:26 +03:00
|
|
|
with:
|
2023-06-26 17:28:43 +03:00
|
|
|
node-version: 18
|
2022-03-21 13:20:26 +03:00
|
|
|
|
2023-12-23 12:32:20 +03:00
|
|
|
- name: Download cached sysroot
|
|
|
|
uses: actions/cache@v3
|
|
|
|
if: matrix.build-arch !='x64'
|
|
|
|
with:
|
|
|
|
key: sysroot-${{matrix.build-arch}}
|
|
|
|
path: /${{matrix.build-arch}}-sysroot
|
|
|
|
|
2023-06-26 17:28:43 +03:00
|
|
|
- name: Install deps (amd64)
|
2022-03-21 13:20:26 +03:00
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
2023-12-23 11:59:51 +03:00
|
|
|
sudo apt-get install libarchive-tools zsh crossbuild-essential-${{matrix.arch}}
|
2023-07-18 23:05:36 +03:00
|
|
|
|
2023-06-26 17:28:43 +03:00
|
|
|
- name: Setup Crossbuild (${{matrix.arch}})
|
|
|
|
run: |
|
2023-12-23 12:32:20 +03:00
|
|
|
echo "CFLAGS=--sysroot=/${{matrix.build-arch}}-sysroot/" >> $GITHUB_ENV
|
|
|
|
echo "CXXFLAGS=--sysroot=/${{matrix.build-arch}}-sysroot/" >> $GITHUB_ENV
|
2023-12-23 12:36:23 +03:00
|
|
|
echo "LDFLAGS=--sysroot=/${{matrix.build-arch}}-sysroot/" >> $GITHUB_ENV
|
|
|
|
|
2023-12-23 11:59:51 +03:00
|
|
|
[[ ${npm_config_arch} == 'arm' ]] && echo "npm_config_arch=armv7l" >> $GITHUB_ENV
|
2023-12-23 12:36:23 +03:00
|
|
|
|
2023-12-23 11:59:51 +03:00
|
|
|
if [[ ${{matrix.arch}} == 'armhf' ]]; then
|
2023-12-23 12:32:20 +03:00
|
|
|
echo "PKG_CONFIG_PATH=/${{matrix.build-arch}}-sysroot/usr/lib/pkgconfig/:/${{matrix.build-arch}}-sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig/" >> $GITHUB_ENV
|
2023-12-23 11:59:51 +03:00
|
|
|
elif [[ ${{matrix.arch}} == 'arm64' ]]; then
|
2023-12-23 12:32:20 +03:00
|
|
|
echo "PKG_CONFIG_PATH=/${{matrix.build-arch}}-sysroot/usr/lib/pkgconfig/:/${{matrix.build-arch}}-sysroot/usr/lib/aarch64-linux-gnu/pkgconfig/" >> $GITHUB_ENV
|
2023-12-23 11:59:51 +03:00
|
|
|
fi
|
2023-12-23 12:36:23 +03:00
|
|
|
|
2023-12-23 11:59:51 +03:00
|
|
|
sudo apt-get update -y && sudo apt-get install debootstrap qemu-user-static binfmt-support -y
|
2023-12-23 12:32:20 +03:00
|
|
|
sudo qemu-debootstrap --include=libfontconfig1-dev,libsecret-1-dev,libnss3,libatk1.0-0,libatk-bridge2.0-0,libgdk-pixbuf2.0-0,libgtk-3-0,libgbm1 --variant=buildd --exclude=snapd --components=main,restricted,universe,multiverse --extractor=dpkg-deb --arch ${{matrix.arch}} bionic /${{matrix.build-arch}}-sysroot/ http://ports.ubuntu.com/ubuntu-ports/
|
|
|
|
sudo find /${{matrix.build-arch}}-sysroot -type l -lname '/*' -exec sh -c 'file="$0"; dir=$(dirname "$file"); target=$(readlink "$0"); prefix=$(dirname "$dir" | sed 's@[^/]*@\.\.@g'); newtarget="$prefix$target"; ln -snf $newtarget $file' {} \; ;
|
2023-06-26 17:28:43 +03:00
|
|
|
if: matrix.build-arch != 'x64'
|
2022-03-21 13:20:26 +03:00
|
|
|
|
2023-12-23 11:59:51 +03:00
|
|
|
- name: Install npm_modules (amd64)
|
|
|
|
run: |
|
|
|
|
npm i -g yarn node-gyp
|
|
|
|
yarn --network-timeout 1000000 --arch=${{matrix.build-arch}} --target-arch=${{matrix.build-arch}}
|
2022-09-04 18:59:48 +03:00
|
|
|
|
2023-06-26 17:28:43 +03:00
|
|
|
- name: Webpack (${{matrix.arch}})
|
|
|
|
run: yarn run build --arch=${{matrix.build-arch}} --target_arch=${{matrix.build-arch}}
|
|
|
|
|
|
|
|
- name: Prepackage plugins (${{matrix.arch}})
|
|
|
|
run: scripts/prepackage-plugins.mjs
|
2023-07-18 23:05:36 +03:00
|
|
|
|
2023-06-26 17:28:43 +03:00
|
|
|
- name: Build packages (${{matrix.arch}})
|
2023-02-26 22:42:31 +03:00
|
|
|
run: scripts/build-linux.mjs
|
2022-03-21 13:20:26 +03:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2022-10-01 15:40:13 +03:00
|
|
|
KEYGEN_TOKEN: ${{ secrets.KEYGEN_TOKEN }}
|
2022-03-21 13:20:26 +03:00
|
|
|
USE_HARD_LINKS: false
|
|
|
|
# DEBUG: electron-builder,electron-builder:*
|
2023-07-18 23:05:36 +03:00
|
|
|
|
2022-03-21 13:20:26 +03:00
|
|
|
- name: Build web resources
|
|
|
|
run: zsh -c 'tar czf tabby-web.tar.gz (tabby-*|web)/dist'
|
2022-09-04 19:04:33 +03:00
|
|
|
if: matrix.build-arch == 'x64'
|
2022-06-15 13:01:27 +03:00
|
|
|
|
2023-06-26 17:28:43 +03:00
|
|
|
- name: Upload symbols (amd64 only)
|
2022-03-21 13:20:26 +03:00
|
|
|
run: |
|
|
|
|
sudo npm install -g @sentry/cli --unsafe-perm
|
2023-02-26 22:42:31 +03:00
|
|
|
./scripts/sentry-upload.mjs
|
2022-09-04 19:04:33 +03:00
|
|
|
if: matrix.build-arch == 'x64'
|
2022-03-21 13:20:26 +03:00
|
|
|
env:
|
|
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
|
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
|
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
|
|
|
|
|
|
- name: Upload packages to packagecloud.io
|
|
|
|
uses: Eugeny/packagecloud-action@main
|
|
|
|
if: github.repository == 'Eugeny/tabby' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
|
|
env:
|
|
|
|
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
|
|
|
|
with:
|
|
|
|
repo: 'eugeny/tabby'
|
|
|
|
dir: 'dist'
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
2023-06-26 17:28:43 +03:00
|
|
|
name: Upload AppImage (${{matrix.arch}})
|
|
|
|
with:
|
|
|
|
name: Linux AppImage (${{matrix.arch}})
|
|
|
|
path: dist/*.AppImage
|
2023-07-18 23:05:36 +03:00
|
|
|
|
2023-06-26 17:28:43 +03:00
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
name: Upload DEB (${{matrix.arch}})
|
2022-03-21 13:20:26 +03:00
|
|
|
with:
|
2023-06-26 17:28:43 +03:00
|
|
|
name: Linux DEB (${{matrix.arch}})
|
2022-06-15 13:01:27 +03:00
|
|
|
path: dist/*.deb
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
2023-06-26 17:28:43 +03:00
|
|
|
name: Upload RPM (${{matrix.arch}})
|
2022-03-21 13:20:26 +03:00
|
|
|
with:
|
2023-06-26 17:28:43 +03:00
|
|
|
name: Linux RPM (${{matrix.arch}})
|
2022-06-15 13:01:27 +03:00
|
|
|
path: dist/*.rpm
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
2023-06-26 17:28:43 +03:00
|
|
|
name: Upload Pacman Package (${{matrix.arch}})
|
2022-03-21 13:20:26 +03:00
|
|
|
with:
|
2023-06-26 17:28:43 +03:00
|
|
|
name: Linux Pacman (${{matrix.arch}})
|
2022-06-15 13:01:27 +03:00
|
|
|
path: dist/*.pacman
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
2023-06-26 17:28:43 +03:00
|
|
|
name: Upload Linux tarball (${{matrix.arch}})
|
2022-03-21 13:20:26 +03:00
|
|
|
with:
|
2023-06-26 17:28:43 +03:00
|
|
|
name: Linux tarball (${{matrix.arch}})
|
2022-06-15 13:01:27 +03:00
|
|
|
path: dist/*.tar.gz
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
2023-06-26 17:28:43 +03:00
|
|
|
name: Upload web tarball (amd64 only)
|
2022-03-21 13:20:26 +03:00
|
|
|
with:
|
|
|
|
name: Web tarball
|
2022-06-15 13:01:27 +03:00
|
|
|
path: tabby-web.tar.gz
|
2022-09-04 19:04:33 +03:00
|
|
|
if: matrix.build-arch == 'x64'
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
|
|
|
|
Windows-Build:
|
|
|
|
runs-on: windows-2022
|
|
|
|
needs: Lint
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
include:
|
2022-04-09 20:08:39 +03:00
|
|
|
- arch: x64
|
2022-03-21 13:20:26 +03:00
|
|
|
- arch: arm64
|
2022-06-18 22:11:07 +03:00
|
|
|
fail-fast: false
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Installing Node
|
2023-07-18 23:07:17 +03:00
|
|
|
uses: actions/setup-node@v3.7.0
|
2022-03-21 13:20:26 +03:00
|
|
|
with:
|
2023-12-23 11:59:51 +03:00
|
|
|
node-version: 18
|
2022-03-21 13:20:26 +03:00
|
|
|
|
|
|
|
- name: Build
|
2022-04-06 14:30:35 +03:00
|
|
|
shell: powershell
|
2022-03-21 13:20:26 +03:00
|
|
|
run: |
|
2023-12-23 12:25:22 +03:00
|
|
|
npm i -g yar node-gyp
|
2022-03-21 13:20:26 +03:00
|
|
|
yarn --network-timeout 1000000
|
|
|
|
yarn run build
|
2023-02-26 22:42:31 +03:00
|
|
|
node scripts/prepackage-plugins.mjs
|
2022-03-21 13:20:26 +03:00
|
|
|
env:
|
|
|
|
ARCH: ${{matrix.arch}}
|
|
|
|
|
|
|
|
- name: Build and sign packages
|
2023-02-26 22:42:31 +03:00
|
|
|
run: node scripts/build-windows.mjs
|
2022-03-21 13:20:26 +03:00
|
|
|
if: github.repository == 'Eugeny/tabby' && github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags'))
|
|
|
|
env:
|
2022-04-19 00:24:48 +03:00
|
|
|
ARCH: ${{matrix.arch}}
|
2022-03-21 13:20:26 +03:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2022-10-01 15:40:13 +03:00
|
|
|
KEYGEN_TOKEN: ${{ secrets.KEYGEN_TOKEN }}
|
2022-03-21 13:20:26 +03:00
|
|
|
WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }}
|
|
|
|
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
|
|
|
|
DEBUG: electron-builder,electron-builder:*
|
|
|
|
|
|
|
|
- name: Build packages without signing
|
2023-02-26 22:42:31 +03:00
|
|
|
run: node scripts/build-windows.mjs
|
2023-12-23 12:14:59 +03:00
|
|
|
if: "! (github.repository == 'Eugeny/tabby' && github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')))"
|
2022-03-21 13:20:26 +03:00
|
|
|
env:
|
|
|
|
ARCH: ${{matrix.arch}}
|
|
|
|
|
|
|
|
- name: Upload symbols
|
|
|
|
run: |
|
|
|
|
npm install @sentry/cli
|
2023-02-26 22:42:31 +03:00
|
|
|
node scripts/sentry-upload.mjs
|
2022-03-21 13:20:26 +03:00
|
|
|
env:
|
|
|
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
|
|
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
|
|
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
|
|
|
|
|
|
|
- name: Package artifacts
|
|
|
|
run: |
|
|
|
|
mkdir artifact-setup
|
|
|
|
mv dist/*-setup-*.exe artifact-setup/
|
|
|
|
mkdir artifact-portable
|
|
|
|
mv dist/*-portable-*.zip artifact-portable/
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
name: Upload installer
|
|
|
|
with:
|
|
|
|
name: Windows installer (${{matrix.arch}})
|
|
|
|
path: artifact-setup
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
name: Upload portable build
|
|
|
|
with:
|
|
|
|
name: Windows portable build (${{matrix.arch}})
|
|
|
|
path: artifact-portable
|