From 1e0eb428ae01f34c01731683e39187fa1a4d8af9 Mon Sep 17 00:00:00 2001 From: Arun Bose Date: Wed, 14 Feb 2024 16:47:49 +0530 Subject: [PATCH] a --- .github/workflows/cr.yml | 32 +++++++++++++++++++++++++++++++- test | 2 ++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 test diff --git a/.github/workflows/cr.yml b/.github/workflows/cr.yml index 34113f6..8fec9c0 100644 --- a/.github/workflows/cr.yml +++ b/.github/workflows/cr.yml @@ -37,4 +37,34 @@ jobs: draft: true, prerelease: true }) - return data.id \ No newline at end of file + return data.id + + build-linux-bins: + needs: [ create-release ] + permissions: + contents: write + timeout-minutes: 60 + strategy: + fail-fast: false + matrix: + platform: [ ubuntu-20.04, ubuntu-22.04] + + runs-on: ${{ matrix.platform }} + steps: + - uses: actions/checkout@v4 + - name: get Git Tag + shell: bash + run: echo "GIT_TAG_NAME=dev-app-v$(node -p "require('./package.json').version")" >> $GITHUB_ENV + - name: setup node + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: GLIBC version + run: | + ldd --version + - name: install frontend dependencies + run: | + GLIBC_VER=$(ldd --version | head -n1 | awk '{print $NF}') + mv test "test-needGLIBC-${GLIBC_VER}.tar.gz" + ls \ No newline at end of file diff --git a/test b/test new file mode 100644 index 0000000..79fef88 --- /dev/null +++ b/test @@ -0,0 +1,2 @@ +test asset + hello world \ No newline at end of file