From 0230f79a782fd3df4daed662fb2c4716af03fcdd Mon Sep 17 00:00:00 2001 From: Hien To Date: Wed, 24 Jul 2024 23:45:38 +0700 Subject: [PATCH] correct path binary file linux --- .github/workflows/cortex-build.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cortex-build.yml b/.github/workflows/cortex-build.yml index 54cf87c16..516ab23b8 100644 --- a/.github/workflows/cortex-build.yml +++ b/.github/workflows/cortex-build.yml @@ -423,7 +423,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: cortex-linux - path: ./cortex + path: ./cortex-js/cortex update_release_draft: needs: [build-and-test, build-cortex-single-binary] @@ -458,14 +458,21 @@ jobs: permissions: contents: read steps: + - name: Clone + id: checkout + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Download artifact uses: actions/download-artifact@v2 with: name: cortex-linux - path: ./cortex + path: ./cortex-linux - name: install dependencies run: | + ls -al ./cortex-linux sudo apt-get install dput devscripts build-essential debhelper-compat pbuilder debootstrap devscripts -y - name: import gpg key with subkey @@ -476,9 +483,10 @@ jobs: fingerprint: ${{ secrets.HOMEBREW_GPG_FINGERPRINT }} - run: | - cp ./cortex/cortex package-managers-template/launchpad/cortexso/ - mv package-managers-template/launchpad/cortexso package-managers-template/launchpad/cortexso-${{ needs.create-draft-release.outputs.version }} - + mkdir -p package-managers-template/launchpad/cortexso-${{ needs.create-draft-release.outputs.version }}/debian + cp package-managers-template/launchpad/cortexso/debian/* package-managers-template/launchpad/cortexso-${{ needs.create-draft-release.outputs.version }}/debian/ + cp ./cortex-linux/cortex package-managers-template/launchpad/cortexso-${{ needs.create-draft-release.outputs.version }}/ + - name: Get release notes id: release_notes run: | @@ -490,7 +498,7 @@ jobs: sed -i "s/CHANGELOG_HERE/${{ env.RELEASE_NOTES }}/g" package-managers-template/launchpad/cortexso-${{ needs.create-draft-release.outputs.version }}/debian/changelog timestamp=$(date -u +"%a, %d %b %Y %H:%M:%S +0000") sed -i "s/TIME_HERE/${timestamp}/g" package-managers-template/launchpad/cortexso-${{ needs.create-draft-release.outputs.version }}/debian/changelog - + - name: Build package run: | cd package-managers-template/launchpad/cortexso-${{ needs.create-draft-release.outputs.version }}