Skip to content

Commit 15f67d2

Browse files
committed
Create the artifacts directory just before first use
This is to keep the steps that produce that directory tree all together.
1 parent 48c0c2d commit 15f67d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ jobs:
6262
;;
6363
esac
6464
65-
- name: Create artifacts directory
66-
run: mkdir artifacts
67-
6865
- name: Create GitHub release
6966
id: release
7067
uses: ncipollo/release-action@v1
@@ -77,6 +74,9 @@ jobs:
7774
omitPrereleaseDuringUpdate: true
7875
token: ${{ secrets.GITHUB_TOKEN }}
7976

77+
- name: Create artifacts directory
78+
run: mkdir artifacts
79+
8080
- name: Save release upload URL to artifact
8181
run: echo '${{ steps.release.outputs.upload_url }}' > artifacts/release-upload-url
8282

0 commit comments

Comments
 (0)