Skip to content

Commit f9d4c8b

Browse files
committed
Add nightly check to install script test workflow
This workflow job verifies the installation script's support for the nightly build.
1 parent 8785256 commit f9d4c8b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test-install.yml

+26
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,29 @@ jobs:
104104
shell: bash
105105
run: |
106106
"${PWD}/bin/${{ env.TOOL_NAME }}" --version | grep --fixed-strings "${{ env.VERSION }}"
107+
108+
nightly:
109+
strategy:
110+
fail-fast: false
111+
112+
matrix:
113+
os:
114+
- ubuntu-latest
115+
- windows-latest
116+
- macos-latest
117+
118+
runs-on: ${{ matrix.os }}
119+
120+
steps:
121+
- name: Checkout local repository
122+
uses: actions/checkout@v2
123+
124+
- name: Run script with nightly build version argument
125+
shell: sh
126+
run: |
127+
"${{ github.workspace }}/etc/install.sh" "nightly-latest"
128+
129+
- name: Verify installation
130+
shell: bash
131+
run: |
132+
"${PWD}/bin/${{ env.TOOL_NAME }}" --version | grep --fixed-strings "0.0.0+"

0 commit comments

Comments
 (0)