From 722fd3db06e035318c235016cf9f80ba1fc017e7 Mon Sep 17 00:00:00 2001 From: hoontee Date: Thu, 10 Aug 2023 22:14:42 -0500 Subject: [PATCH] pkg --- .github/workflows/Publish-main.yml | 1 - .github/workflows/pkg.yml | 40 ++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pkg.yml diff --git a/.github/workflows/Publish-main.yml b/.github/workflows/Publish-main.yml index 95d99e4..2c270aa 100644 --- a/.github/workflows/Publish-main.yml +++ b/.github/workflows/Publish-main.yml @@ -9,7 +9,6 @@ on: - 'Sample Project/**' jobs: - publish-main: runs-on: windows-latest steps: diff --git a/.github/workflows/pkg.yml b/.github/workflows/pkg.yml new file mode 100644 index 0000000..ec9631a --- /dev/null +++ b/.github/workflows/pkg.yml @@ -0,0 +1,40 @@ +name: pkg + +on: + push: + branches: + - main + +jobs: + pkg: + runs-on: ubuntu-latest + strategy: + matrix: + arch: + - x64 + - arm64 + node-version: + - node19 + os: + - win + - macos + steps: + + - name: Download repository + uses: actions/checkout@master + + - name: Extract Lync + run: | + ls + mv Lync/ ../temp/ + rm -r * + mv -v ../temp/* ./ + ls + + - name: Compile Lync binary + uses: lando/pkg-action@main + with: + entrypoint: ./index.js + arch: ${{ matrix.arch }} + node-version: ${{ matrix.node-version }} + os: ${{ matrix.os }} \ No newline at end of file