From 7222ec579fee0b3f51e67ad9f2cfc6ed91b35ca0 Mon Sep 17 00:00:00 2001 From: hoontee Date: Tue, 22 Aug 2023 00:14:58 -0500 Subject: [PATCH] Update pkg.yml --- .github/workflows/pkg.yml | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/workflows/pkg.yml b/.github/workflows/pkg.yml index 4a808f6..057be7c 100644 --- a/.github/workflows/pkg.yml +++ b/.github/workflows/pkg.yml @@ -3,31 +3,29 @@ name: pkg on: push: branches: - - main + - main jobs: pkg: runs-on: ubuntu-latest steps: - - name: Download repository - uses: actions/checkout@master + - name: Download repository + uses: actions/checkout@master - - name: Extract Lync - run: | - ls - mv Lync/ ../temp/ - rm -r * - mv -v ../temp/* ./ - ls + - name: Extract Lync + run: | + mv Lync/ ../temp/ + rm -r * + mv -v ../temp/* ./ - - name: Install Node.js - uses: actions/setup-node@master + - name: Install Node.js + uses: actions/setup-node@master - - name: Install pkg - run: npm install pkg + - name: Install pkg + run: npm install -g pkg - - name: Compile Lync binary - run: | - cd Lync - pkg index.js -t node18-win,node18-macos,node18-linux \ No newline at end of file + - name: Compile Lync binary + run: | + pkg index.js -t node18-win,node18-macos,node18-linux + ls \ No newline at end of file