From 56d9fa3334eee927f02031b32c7a9ae81610f3e1 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 4 Sep 2021 17:39:03 +0200 Subject: :bug: fix release --- .github/workflows/release.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to '.github') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da101642..b189f3bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,13 +14,16 @@ jobs: os: [windows, macos, ubuntu] include: - os: windows - build: npx caxa -i . -m 'This_may_take_a_while_to_run_the_first_time_please_wait...' --output 'fosscord-server-windows.exe' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js' + file: fosscord-server-windows.exe + package: "" artifact: fosscord-server-windows.exe - os: macos - build: npx caxa -i . -m 'This may take a while to run the first time, please wait...' --output 'fosscord-server.app' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js' && tar -czf 'fosscord-server-macos.app.tgz' 'fosscord-server.app' + file: fosscord-server.app + package: tar -czf 'fosscord-server-macos.app.tgz' 'fosscord-server.app' artifact: fosscord-server-macos.app.tgz - os: ubuntu - build: npx caxa -i . -m 'This may take a while to run the first time, please wait...' --output 'fosscord' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js' && tar -czf 'fosscord-server-linux.tgz' 'fosscord' + file: fosscord + package: chmod +x fosscord && tar -czf 'fosscord-server-linux.tgz' 'fosscord' artifact: fosscord-server-linux.tgz runs-on: ${{ matrix.os }}-latest steps: @@ -49,13 +52,10 @@ jobs: npm run build npm pack cd ../bundle - npm i ../util/fosscord-util-1.0.0.tgz - npm i ../cdn/fosscord-cdn-1.0.0.tgz - npm i ../gateway/fosscord-gateway-1.0.0.tgz - npm i ../api/fosscord-api-1.0.0.tgz - npm i caxa + npm i ../cdn/fosscord-cdn-1.0.0.tgz ../gateway/fosscord-gateway-1.0.0.tgz ../api/fosscord-api-1.0.0.tgz ../util/fosscord-util-1.0.0.tgz caxa npm run build:bundle - ${{ matrix.build }} + npx caxa -i . -m 'This_may_take_a_while_to_run_the_first_time_please_wait...' --output '${{matrix.file}}' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/dist/start.js' + ${{ matrix.package }} - uses: actions/upload-artifact@v2 with: name: ${{ matrix.artifact }} -- cgit 1.4.1