Skip to content

Commit b6eeec2

Browse files
committed
build: small fixes + publish to brew
1 parent d15e851 commit b6eeec2

File tree

4 files changed

+31
-8
lines changed

4 files changed

+31
-8
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Publish to Homebrew'
2+
description: 'Publish the MacOS package to Homebrew'
3+
inputs:
4+
release-version:
5+
description: 'The release version'
6+
required: true
7+
8+
runs:
9+
using: 'composite'
10+
steps:
11+
- name: Append the msi file to release
12+
uses: softprops/action-gh-release@v1
13+
with:
14+
fail_on_unmatched_files: true
15+
files: |
16+
algokit-explorer_*.dmg
17+
tag_name: ${{ inputs.release-version }}
18+
prerelease: ${{ contains(inputs.release-version, 'beta') }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: 'Publish Linux Snap'
2-
description: 'Publish Linux Snap'
1+
name: 'Publish to Snap'
2+
description: 'Publish the Linux package to Snap'
33
inputs:
44
release-version:
55
description: 'The release version'

.github/actions/publish-windows-winget/action.yaml renamed to .github/actions/publish-to-winget/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: 'Publish Windows Winget'
2-
description: 'Publish Windows Winget'
1+
name: 'Publish to Winget'
2+
description: 'Publish the Windows installer to Winget'
33
inputs:
44
release-version:
55
description: 'The release version'

.github/workflows/release.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,18 @@ jobs:
139139
with:
140140
merge-multiple: true
141141

142-
- name: Publish Linux Snap
143-
uses: ./.github/actions/publish-linux-snap
142+
- name: Publish to Snap
143+
uses: ./.github/actions/publish-to-snap
144144
with:
145145
release-version: ${{ needs.create-release.outputs.release-version }}
146146
artifact-name: ${{ needs.build-tauri.outputs.linux-artifact-name }}
147147

148-
- name: Publish Windows Winget
149-
uses: ./.github/actions/publish-windows-winget
148+
- name: Publish to Winget
149+
uses: ./.github/actions/publish-to-winget
150+
with:
151+
release-version: ${{ needs.create-release.outputs.release-version }}
152+
153+
- name: Publish to Brew
154+
uses: ./.github/actions/publish-to-brew
150155
with:
151156
release-version: ${{ needs.create-release.outputs.release-version }}

0 commit comments

Comments
 (0)