Skip to content

Commit 6c302a2

Browse files
committed
workflow fixed
1 parent 15b4e69 commit 6c302a2

1 file changed

Lines changed: 30 additions & 1 deletion

File tree

‎.github/workflows/build.yml‎

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ jobs:
1010
java-version: '17' # See 'Options' for more details
1111
distribution: 'graalvm' # See 'Supported distributions' for available options
1212
github-token: ${{ secrets.GITHUB_TOKEN }}
13+
14+
- name: Install native build dependencies
15+
run: |
16+
sudo apt-get update
17+
sudo apt-get install -y software-properties-common
18+
sudo add-apt-repository universe
19+
sudo apt-get update
20+
sudo apt-get install -y build-essential pkg-config \
21+
libasound2-dev libavcodec-dev libavformat-dev libavutil-dev \
22+
libfreetype6-dev libgl-dev libglib2.0-dev libgtk-3-dev \
23+
libpango1.0-dev libx11-dev libxtst-dev
24+
1325
- name: Example step
1426
run: |
1527
echo "GRAALVM_HOME: $GRAALVM_HOME"
@@ -18,4 +30,21 @@ jobs:
1830
native-image --version
1931
2032
- name: Build jar
21-
run: ./gradlew victusBuild
33+
run: ./gradlew victusBuild
34+
35+
36+
- name: Zip installer folder
37+
run: |
38+
if [ -d "installer" ]; then
39+
zip -r VictusHub.zip installer
40+
else
41+
echo "❌ installer klasörü bulunamadı!"
42+
exit 1
43+
fi
44+
45+
46+
- name: Upload VictusHub.zip artifact
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: VictusHub.zip
50+
path: VictusHub.zip

0 commit comments

Comments
 (0)