From 4968833d052c4e58e0fdfdf7213e2f0ff6b0034d Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Fri, 13 Dec 2024 22:05:22 -0700 Subject: [PATCH] ci: Attempting a different way of creating the artifacts directory [skip ci] --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b312ff8..22995b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,9 +49,6 @@ jobs: echo "You are not authorized to run this workflow." exit 1 - - name: Create artifacts directory - run: mkdir artifacts - - name: Checkout repository uses: actions/checkout@v4 with: @@ -142,6 +139,7 @@ jobs: - name: Add SHA to artifacts run: | + [[ -d artifacts ]] || mkdir artifacts cp target/${{ matrix.job.target }}/release/${{ env.RELEASE_NAME }}.sha256 artifacts/ - name: Upload artifacts