From 3654915334132670c7f5b324490735498c07937c Mon Sep 17 00:00:00 2001 From: CNOCTAVE Date: Wed, 13 Nov 2024 12:45:57 +0800 Subject: [PATCH] Update build-and-publish.yml --- .github/workflows/build-and-publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index f724122..d7995bb 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -14,7 +14,8 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} steps: - uses: actions/checkout@v4 - - run: sudo apt-get install jq -y - run: sudo chmod +x src/configure - - run: tar --warning=no-file-changed --exclude='.' --exclude='.git/' --exclude='.github/' --exclude=octave_zstd.tar.gz -czvf octave_zstd.tar.gz . + - run: mkdir temp + - run: cd temp + - run: tar --warning=no-file-changed --exclude='.git/' --exclude='.github/' -czvf octave_zstd.tar.gz ../* - run: gh release upload 1.0.3 octave_zstd.tar.gz --repo $GITHUB_REPOSITORY