Add shell

This commit is contained in:
Trebor-Huang
2021-10-31 23:20:33 +08:00
parent 81abb06f7b
commit 9582a625ff

View File

@@ -3,16 +3,17 @@ description: 'Check for obvious errors.'
runs: runs:
using: "composite" using: "composite"
shell: bash
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: ./.github/actions/build-love - uses: ./.github/actions/build-love
with: with:
file-path: Techmino.love file-path: Techmino.love
- name: Download love - name: Download love
shell: bash
run: | run: |
curl -L https://github.com/love2d/love/releases/download/11.3/love-11.3-linux-x86_64.tar.gz | tar xz curl -L https://github.com/love2d/love/releases/download/11.3/love-11.3-linux-x86_64.tar.gz | tar xz
- name: Prepare PulseAudio - name: Prepare PulseAudio
shell: bash
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install pulseaudio pulseaudio-utils pavucontrol alsa-oss alsa-utils -y sudo apt-get install pulseaudio pulseaudio-utils pavucontrol alsa-oss alsa-utils -y
@@ -26,6 +27,7 @@ runs:
exit 1 # xvfb seems to return 0 even if the test failed exit 1 # xvfb seems to return 0 even if the test failed
fi fi
- name: Finish - name: Finish
shell: bash
run: | run: |
if [ -f .github/workflows/automatic-test/result.txt ]; then if [ -f .github/workflows/automatic-test/result.txt ]; then
exit 0 exit 0