Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
node-version: [24.x]
runtime:
- linux-x64
- linux-armv7l
- linux-arm64
- win-x64
- win-arm64
Expand All @@ -56,9 +55,6 @@ jobs:
- runtime: linux-x64
os: ubuntu-latest

- runtime: linux-armv7l
os: ubuntu-latest

- runtime: linux-arm64
os: ubuntu-latest

Expand Down Expand Up @@ -146,11 +142,6 @@ jobs:
shell: bash
run: pnpm run build

- name: Build ARMv7l with Node.js ${{ matrix.node-version}}
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
shell: bash
run: pnpm run build:arm32

- name: Build ARM64 with Node.js ${{ matrix.node-version}}
if: contains(matrix.runtime, 'arm64')
shell: bash
Expand All @@ -170,20 +161,6 @@ jobs:
name: freetube-${{ steps.versionNumber.outputs.version }}-linux-x64-portable.7z
path: build/freetube-${{ steps.versionNumber.outputs.version }}.7z

- name: Upload Linux .zip ARMv7l Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
with:
name: freetube-${{ steps.versionNumber.outputs.version }}-linux-armv7l-portable.zip
path: build/freetube-${{ steps.versionNumber.outputs.version }}-armv7l.zip

- name: Upload Linux .7z ARMv7l Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
with:
name: freetube-${{ steps.versionNumber.outputs.version }}-linux-armv7l-portable.7z
path: build/freetube-${{ steps.versionNumber.outputs.version }}-armv7l.7z

- name: Upload Linux .zip ARM64 Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
Expand All @@ -205,13 +182,6 @@ jobs:
name: freetube_${{ steps.versionNumber.outputs.version }}_amd64.deb
path: build/freetube_${{ steps.versionNumber.outputs.version }}_amd64.deb

- name: Upload .deb ARMv7l Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
with:
name: freetube_${{ steps.versionNumber.outputs.version }}_armv7l.deb
path: build/freetube_${{ steps.versionNumber.outputs.version }}_armv7l.deb

- name: Upload .deb ARM64 Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
Expand All @@ -226,13 +196,6 @@ jobs:
name: freetube-${{ steps.versionNumber.outputs.version }}-amd64.AppImage
path: build/FreeTube-${{ steps.versionNumber.outputs.version }}.AppImage

- name: Upload AppImage ARMv7l Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
with:
name: freetube-${{ steps.versionNumber.outputs.version }}-armv7l.AppImage
path: build/FreeTube-${{ steps.versionNumber.outputs.version }}-armv7l.AppImage

- name: Upload AppImage ARM64 Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
Expand All @@ -247,8 +210,6 @@ jobs:
name: freetube-${{ steps.versionNumber.outputs.version }}.amd64.rpm
path: build/freetube-${{ steps.versionNumber.outputs.version }}.x86_64.rpm

# rpm are not built for armv7l

- name: Upload .rpm ARM64 Artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
Expand Down
67 changes: 0 additions & 67 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
node-version: [24.x]
runtime:
- linux-x64
- linux-armv7l
- linux-arm64
- win-x64
- win-arm64
Expand All @@ -38,10 +37,6 @@ jobs:
os: ubuntu-latest
appimage-arch: amd64

- runtime: linux-armv7l
os: ubuntu-latest
appimage-arch: armv7l

- runtime: linux-arm64
os: ubuntu-latest
appimage-arch: arm64
Expand Down Expand Up @@ -101,11 +96,6 @@ jobs:
shell: bash
run: pnpm run build

- name: Build ARMv7l with Node.js ${{ matrix.node-version}}
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
shell: bash
run: pnpm run build:arm32

- name: Build ARM64 with Node.js ${{ matrix.node-version}}
if: contains(matrix.runtime, 'arm64')
shell: bash
Expand Down Expand Up @@ -152,28 +142,6 @@ jobs:
asset_path: build/freetube-${{ steps.getPackageInfo.outputs.version }}.7z
asset_content_type: application/x-7z-compressed

- name: Upload Linux .zip ARMv7l Release
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 #v1.0.2
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ inputs.releaseId }}/assets{?name,label}
asset_name: freetube-${{ steps.getPackageInfo.outputs.version }}-beta-linux-armv7l-portable.zip
asset_path: build/freetube-${{ steps.getPackageInfo.outputs.version }}-armv7l.zip
asset_content_type: application/zip

- name: Upload Linux .7z ARMv7l Release
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 #v1.0.2
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ inputs.releaseId }}/assets{?name,label}
asset_name: freetube-${{ steps.getPackageInfo.outputs.version }}-beta-linux-armv7l-portable.7z
asset_path: build/freetube-${{ steps.getPackageInfo.outputs.version }}-armv7l.7z
asset_content_type: application/x-7z-compressed

- name: Upload Linux .zip ARM64 Release
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 #v1.0.2
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
Expand Down Expand Up @@ -207,17 +175,6 @@ jobs:
asset_path: build/freetube_${{ steps.getPackageInfo.outputs.version }}_amd64.deb
asset_content_type: application/vnd.debian.binary-package

- name: Upload Linux .deb ARMv7l Release
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 #v1.0.2
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ inputs.releaseId }}/assets{?name,label}
asset_name: freetube_${{ steps.getPackageInfo.outputs.version }}_beta_armv7l.deb
asset_path: build/freetube_${{ steps.getPackageInfo.outputs.version }}_armv7l.deb
asset_content_type: application/vnd.debian.binary-package

- name: Upload Linux .deb ARM64 Release
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 #v1.0.2
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
Expand Down Expand Up @@ -251,28 +208,6 @@ jobs:
asset_path: build/FreeTube-${{ steps.getPackageInfo.outputs.version }}.AppImage.zsync
asset_content_type: application/x-zsync

- name: Upload AppImage ARMv7l Release
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 #v1.0.2
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ inputs.releaseId }}/assets{?name,label}
asset_name: freetube-${{ steps.getPackageInfo.outputs.version }}-beta-armv7l.AppImage
asset_path: build/FreeTube-${{ steps.getPackageInfo.outputs.version }}-armv7l.AppImage
asset_content_type: application/vnd.appimage

- name: Upload AppImage .zsync ARMv7l Release
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 #v1.0.2
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ inputs.releaseId }}/assets{?name,label}
asset_name: freetube-${{ steps.getPackageInfo.outputs.version }}-beta-armv7l.AppImage.zsync
asset_path: build/FreeTube-${{ steps.getPackageInfo.outputs.version }}-armv7l.AppImage.zsync
asset_content_type: application/x-zsync

- name: Upload AppImage ARM64 Release
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 #v1.0.2
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
Expand Down Expand Up @@ -306,8 +241,6 @@ jobs:
asset_path: build/freetube-${{ steps.getPackageInfo.outputs.version }}.x86_64.rpm
asset_content_type: application/x-rpm

# rpm are not built for armv7l

- name: Upload Linux .rpm ARM64 Release
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 #v1.0.2
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
Expand Down
4 changes: 0 additions & 4 deletions _scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ if (platform === 'darwin') {
arch = Arch.arm64
}

if (args[2] === 'arm32') {
arch = Arch.armv7l
}

targets = Platform.LINUX.createTarget(['deb', 'zip', '7z', 'rpm', 'AppImage', 'pacman'], arch)
}

Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@
"scripts": {
"build": "pnpm run pack && pnpm run build-release",
"build:arm64": "pnpm run pack && pnpm run build-release:arm64",
"build:arm32": "pnpm run pack && pnpm run build-release:arm32",
"build-release": "node _scripts/build.mjs",
"build-release:arm64": "node _scripts/build.mjs arm64",
"build-release:arm32": "node _scripts/build.mjs arm32",
"clean": "node _scripts/clean.mjs",
"debug": "node _scripts/dev-runner.js --remote-debug",
"dev": "node _scripts/dev-runner.js",
Expand Down Expand Up @@ -58,7 +56,7 @@
"autolinker": "^4.1.5",
"bgutils-js": "^4.0.3",
"dompurify": "^3.4.16",
"electron-context-menu": "^4.1.2",
"electron-context-menu": "^5.0.0",
"googlevideo": "^4.1.1",
"marked": "^18.0.14",
"process": "^0.11.10",
Expand All @@ -80,7 +78,7 @@
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.5",
"cssnano": "^9.0.5",
"electron": "^43.4.0",
"electron": "^44.3.0",
"electron-builder": "^26.16.1",
"eslint": "^10.11.0",
"eslint-plugin-import-x": "^4.17.1",
Expand Down
44 changes: 17 additions & 27 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading