From f5ec2d8193cbd4a8a19793f3221e9f161c0d2205 Mon Sep 17 00:00:00 2001 From: DevPolo Date: Thu, 7 Oct 2021 16:35:33 +0200 Subject: [PATCH] chore(cd): move logic to cd --- .github/workflows/cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 001b1ec..720daf4 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,8 +22,8 @@ jobs: npm install - name: Release Package run: | - pkg ./dist/src/index.js --targets node14-macos-x64 --output ./release/gac - + pkg dist/src/index.js --targets node14-macos-x64 --output release/gac + tar -cvzf release/gac-macos-x64.tar.gz release/gac - name: Get version id: get_version run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}