changed to shell: bash for windows tests/builds
This commit is contained in:
parent
fba04a0c06
commit
17bb547c74
1 changed files with 8 additions and 1 deletions
|
@ -8,15 +8,21 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Verify Go Installation
|
||||
shell: bash
|
||||
run: |
|
||||
go version || (echo "Go is not installed!" && exit 1)
|
||||
if ! go version; then
|
||||
echo "Go is not installed!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Build Go Application
|
||||
shell: bash
|
||||
run: |
|
||||
go build -o spitfire-installer.exe
|
||||
echo "Application built successfully."
|
||||
|
||||
- name: Run Go Application
|
||||
shell: bash
|
||||
run: |
|
||||
./spitfire-installer.exe || echo "Application failed to run."
|
||||
|
||||
|
@ -38,3 +44,4 @@ jobs:
|
|||
- name: Run Go Application
|
||||
run: |
|
||||
./spitfire-installer || echo "Application failed to run."
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue