From e82db5803d00629effc0348b026c29bd708c6dbd Mon Sep 17 00:00:00 2001 From: "Pavel V. Dimens" <19176506+pdimens@users.noreply.github.com> Date: Fri, 16 Feb 2024 12:08:27 -0500 Subject: [PATCH] fix --- .github/workflows/createrelease.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/createrelease.yml b/.github/workflows/createrelease.yml index 8b0cc2584..b47b78be7 100644 --- a/.github/workflows/createrelease.yml +++ b/.github/workflows/createrelease.yml @@ -25,13 +25,15 @@ jobs: --title="${GITHUB_REPOSITORY#*/} ${{ github.ref_name }}" \ --generate-notes - name: build artifacts - run: tar --exclude="test" --exclude=".git" --exclude=".github" --exclude=".snakemake" -zcvf harpy.${{ github.ref_name }}.tar.gz . + run: | + mkdir artifacts + tar --exclude="test" --exclude="artifacts" --exclude=".git" --exclude=".github" -zcvf artifacts/harpy.${{ github.ref_name }}.tar.gz . - name: upload tarball uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./harpy.${{ github.ref_name }}.tar.gz + asset_path: ./artifacts/harpy.${{ github.ref_name }}.tar.gz asset_name: harpy.${{ github.ref_name }}.tar.gz asset_content_type: application/gzip \ No newline at end of file