Skip to content

Commit 318ede8

Browse files
committed
- Remove deprecated dependency
1 parent 1cb5164 commit 318ede8

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ jobs:
132132
auto-test:
133133
runs-on: ubuntu-22.04
134134
needs: build-core
135+
env:
136+
APPIMAGE_PATH: ./love.AppImage
135137
steps:
136138
- uses: actions/checkout@v4
137139
with:
@@ -148,18 +150,17 @@ jobs:
148150
- name: Download love
149151
shell: bash
150152
run: |
151-
curl -OL --retry 5 https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage
152-
chmod +x love-11.4-x86_64.AppImage
153-
- name: Prepare PulseAudio and AppImage
153+
curl -OL --retry 5 https://github.com/love2d/love/releases/download/11.4/love-11.4-x86_64.AppImage -o ${{ env.APPIMAGE_PATH }}
154+
chmod +x ${{ env.APPIMAGE_PATH }}
155+
- name: Install dependencies
154156
shell: bash
155157
run: |
156158
sudo apt-get update
157-
sudo apt-get install pulseaudio pulseaudio-utils pavucontrol alsa-oss alsa-utils libfuse2 -y
159+
sudo apt-get install alsa-oss alsa-utils libfuse2 pavucontrol pulseaudio pulseaudio-utils x11-xserver-utils xvfb -y
158160
- name: Run automated test
159-
uses: coactions/setup-xvfb@v1
160-
with:
161-
run: |
162-
./love-11.4-x86_64.AppImage ${{ env.CORE_LOVE_PACKAGE_PATH }} --test
161+
shell: bash
162+
run: |
163+
xvfb-run --auto-servernum ${{ env.APPIMAGE_PATH }} ${{ env.CORE_LOVE_PACKAGE_PATH }} --test
163164
164165
build-android:
165166
runs-on: ubuntu-latest
@@ -196,7 +197,7 @@ jobs:
196197
dir: ./libAndroid
197198
- name: Build Android packages
198199
id: build-packages
199-
uses: love-actions/love-actions-android@use-grable-cache
200+
uses: love-actions/love-actions-android@v1
200201
with:
201202
app-name: ${{ needs.get-info.outputs.app-name }}
202203
bundle-id: ${{ steps.process-app-name.outputs.bundle-id }}

0 commit comments

Comments
 (0)