From 5fece2485edd003eb3e82461f9bd71f5e0bbff66 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Tue, 22 Oct 2024 11:40:34 -0400 Subject: [PATCH] more ci fixes --- .github/actions/7-package/action.yml | 14 -------------- .github/actions/upload-to-github/action.yml | 3 ++- .github/workflows/main.yml | 1 + 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/actions/7-package/action.yml b/.github/actions/7-package/action.yml index 3c542639b0..50ea66f1e9 100644 --- a/.github/actions/7-package/action.yml +++ b/.github/actions/7-package/action.yml @@ -110,20 +110,6 @@ runs: echo "ARTIFACT_ID=$artifactID" >> $GITHUB_ENV echo "ARTIFACT_NAME=$os-${{ inputs.arch }}" >> $GITHUB_ENV - - name: 'Linux: Pack source dir' - if: runner.os == 'Linux' && inputs.os == '' - shell: bash - run: | - set -eux - git clean -dffx - cd .. - artifactName="opend-$ARTIFACT_ID-src" - chmod -R go=rX opend/ldc - GZIP=-9 tar -czf artifacts/$artifactName.tar.gz --exclude-vcs --owner=0 --group=0 --transform="s,^opend/ldc,$artifactName," opend/ldc - # unpack & create zip - tar -xf artifacts/$artifactName.tar.gz - zip -r -9 artifacts/$artifactName.zip $artifactName >/dev/null - - name: 'Move artifacts dir for uploading' shell: bash run: mv ../artifacts ./ diff --git a/.github/actions/upload-to-github/action.yml b/.github/actions/upload-to-github/action.yml index 8af63cd993..bf8125ccfa 100644 --- a/.github/actions/upload-to-github/action.yml +++ b/.github/actions/upload-to-github/action.yml @@ -52,7 +52,8 @@ runs: fi ls -lh - sha256sum * > "opend-$ARTIFACT_ID.sha256sums.txt" + # $ARTIFACT_ID + sha256sum * > "opend-latest.sha256sums.txt" - name: Upload to GitHub release uses: ncipollo/release-action@v1 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a3eb9e696..9559669a9c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -229,6 +229,7 @@ jobs: needs: - build-native - build-cross + - merge-macos permissions: contents: write steps: