Skip to content

Commit 152beed

Browse files
committed
ci(release): run tests of install scripts after publish
1 parent 7f52bb3 commit 152beed

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,7 @@ jobs:
9898
files: |
9999
target/${{ matrix.platform.target }}/release/envfetch-windows-amd64.zip
100100
target/${{ matrix.platform.target }}/release/envfetch-windows-amd64.zip.sha256
101+
test-install-scripts:
102+
needs: publish
103+
uses: ./.github/workflows/test-install.yml
104+

.github/workflows/test-install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Test Installation Script
22

33
on:
4+
workflow_call:
45
push:
56
paths:
67
- "install.ps1"
@@ -11,7 +12,6 @@ on:
1112
- "install.ps1"
1213
- "install.sh"
1314
- ".github/workflows/test-install.yml"
14-
release:
1515

1616
jobs:
1717
test-install-windows:

0 commit comments

Comments
 (0)