Skip to content

Commit 436b5de

Browse files
committed
build: fix
1 parent 0868513 commit 436b5de

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/actions/publish-linux-snap/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: 'Build for Linux'
22
inputs:
3+
release-version:
4+
description: 'The release version'
5+
required: true
36
artifacts-path:
47
description: 'The path to the artifacts'
58
required: true
6-
linux-artifact-name:
7-
description: 'The name of the Linux artifact'
8-
required: true
99

1010
runs:
1111
using: 'composite'

.github/workflows/release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
publish:
109109
name: Publish
110110
needs:
111+
- create-release
111112
- build-tauri
112113
runs-on: [ubuntu-20.04]
113114
# if: ${{ inputs.production-release == 'true' }}
@@ -119,13 +120,13 @@ jobs:
119120
- name: Download Linux artifacts
120121
uses: actions/download-artifact@v4
121122
with:
122-
pattern: algokit-explorer-linux-*
123+
pattern: ${{ needs.build-tauri.outputs.linux-artifact-name }}
123124
merge-multiple: true
124125
path: linux-artifacts
125126

126127
- name: publish Linux Snap
127128
if: ${{ runner.os == 'Linux' }}
128129
uses: ./.github/actions/publish-linux-snap
129130
with:
131+
release-version: ${{ needs.create-release.outputs.release-version }}
130132
artifacts-path: linux-artifacts
131-
linux-artifact-name: ${{ needs.build-tauri.outputs.linux-artifact-name }}

0 commit comments

Comments
 (0)