Skip to content

Commit 5920518

Browse files
committed
Attempt hardcoding artifacts dir for jreleaser
1 parent d6b5f1c commit 5920518

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
uses: jreleaser/release-action@v2
133133
with:
134134
version: latest
135-
arguments: release -PartifactsDir=artifacts-* -PskipArchiveResolver
135+
arguments: release -PskipArchiveResolver
136136
env:
137137
JRELEASER_PROJECT_VERSION: ${{ needs.prerelease.outputs.VERSION }}
138138
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jreleaser.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ distributions:
5555
executable:
5656
windowsExtension: exe
5757
artifacts:
58-
- path: '{{artifactsDir}}/{{distributionName}}-{{projectVersion}}-aarch64-apple-darwin.zip'
58+
- path: 'artifacts-aarch64-apple-darwin/{{distributionName}}-{{projectVersion}}-aarch64-apple-darwin.zip'
5959
platform: osx-aarch_64
60-
- path: '{{artifactsDir}}/{{distributionName}}-{{projectVersion}}-x86_64-apple-darwin.zip'
60+
- path: 'artifacts-x86_64-apple-darwin/{{distributionName}}-{{projectVersion}}-x86_64-apple-darwin.zip'
6161
platform: osx-x86_64
62-
- path: '{{artifactsDir}}/{{distributionName}}-{{projectVersion}}-x86_64-pc-windows-msvc.zip'
62+
- path: 'artifacts-x86_64-pc-windows-msvc/{{distributionName}}-{{projectVersion}}-x86_64-pc-windows-msvc.zip'
6363
platform: windows-x86_64
64-
- path: '{{artifactsDir}}/{{distributionName}}-{{projectVersion}}-x86_64-unknown-linux-gnu.zip'
64+
- path: 'artifacts-x86_64-unknown-linux-gnu/{{distributionName}}-{{projectVersion}}-x86_64-unknown-linux-gnu.zip'
6565
platform: linux-x86_64
66-
- path: '{{artifactsDir}}/{{distributionName}}-{{projectVersion}}-aarch64-unknown-linux-gnu.zip'
66+
- path: 'artifacts-aarch64-unknown-linux-gnu/{{distributionName}}-{{projectVersion}}-aarch64-unknown-linux-gnu.zip'
6767
platform: linux-aarch_64
6868
announce:
6969
twitter:

0 commit comments

Comments
 (0)