fix: replace pacman build with pkg.tar.zst and remove its deps, changed CF and Discord key mode

This commit is contained in:
Fazri Gading
2026-01-25 14:45:45 +08:00
parent 4c3277392e
commit de9c7d81f5
4 changed files with 15 additions and 39 deletions

View File

@@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# FIX Install bsdtar for Pacman builds
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y libarchive-tools
# Not needed anymore due to the removal of Pacman builds
# - name: Install build dependencies
# run: |
# sudo apt-get update
# sudo apt-get install -y libarchive-tools
- uses: actions/setup-node@v4
with:
@@ -25,14 +25,6 @@ jobs:
cache: 'npm'
- run: npm ci
- name: Create .env file
env:
CF_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
DISCORD_ID: ${{ secrets.DISCORD_CLIENT_ID }}
run: |
echo "CURSEFORGE_API_KEY=$CF_KEY" > .env
echo "DISCORD_CLIENT_ID=$DISCORD_ID" >> .env
- name: Build Linux Packages
run: |
npx electron-builder --linux --x64 --arm64 --publish never
@@ -44,7 +36,7 @@ jobs:
dist/*.AppImage.blockmap
dist/*.deb
dist/*.rpm
dist/*.pacman
dist/*.pkg.tar.zst
dist/latest-linux.yml
build-windows:
@@ -57,14 +49,6 @@ jobs:
cache: 'npm'
- run: npm ci
- name: Create .env file
env:
CF_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
DISCORD_ID: ${{ secrets.DISCORD_CLIENT_ID }}
run: |
echo "CURSEFORGE_API_KEY=$CF_KEY" > .env
echo "DISCORD_CLIENT_ID=$DISCORD_ID" >> .env
- name: Build Windows Packages
run: npx electron-builder --win --publish never
- uses: actions/upload-artifact@v4
@@ -85,15 +69,7 @@ jobs:
cache: 'npm'
- run: npm ci
- name: Create .env file
env:
CF_KEY: ${{ secrets.CURSEFORGE_API_KEY }}
DISCORD_ID: ${{ secrets.DISCORD_CLIENT_ID }}
run: |
echo "CURSEFORGE_API_KEY=$CF_KEY" > .env
echo "DISCORD_CLIENT_ID=$DISCORD_ID" >> .env
- name: Build Windows Packages
- name: Build macOS Packages
run: npx electron-builder --mac --publish never
- uses: actions/upload-artifact@v4
with: