2020-12-13 21:40:54 +01:00
|
|
|
# This is a basic workflow that is manually triggered
|
|
|
|
|
|
|
|
name: Upload Release
|
|
|
|
|
|
|
|
# Controls when the action will run. Workflow runs when manually triggered using the UI
|
|
|
|
# or API.
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-11-07 07:01:34 +01:00
|
|
|
node-version: [18.x]
|
2022-10-20 12:33:00 +02:00
|
|
|
runtime:
|
2022-09-06 23:18:29 +02:00
|
|
|
- linux-x64
|
|
|
|
- linux-armv7l
|
|
|
|
- linux-arm64
|
|
|
|
- win-x64
|
|
|
|
- win-arm64
|
|
|
|
- osx-x64
|
|
|
|
# `osx-arm64` disabled due to "macOS gatekeeper"
|
|
|
|
# See details in https://github.com/FreeTubeApp/FreeTube/pull/2113
|
|
|
|
# - osx-arm64
|
2020-12-13 21:40:54 +01:00
|
|
|
include:
|
|
|
|
- runtime: linux-x64
|
|
|
|
os: ubuntu-latest
|
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- runtime: linux-armv7l
|
|
|
|
os: ubuntu-latest
|
2022-10-20 12:33:00 +02:00
|
|
|
|
2020-12-13 21:40:54 +01:00
|
|
|
- runtime: linux-arm64
|
|
|
|
os: ubuntu-latest
|
|
|
|
|
|
|
|
- runtime: osx-x64
|
|
|
|
os: macOS-latest
|
2022-10-20 12:33:00 +02:00
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
# - runtime: osx-arm64
|
|
|
|
# os: macOS-latest
|
2022-10-20 12:33:00 +02:00
|
|
|
|
2020-12-13 21:40:54 +01:00
|
|
|
- runtime: win-x64
|
|
|
|
os: windows-latest
|
2022-10-20 12:33:00 +02:00
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- runtime: win-arm64
|
|
|
|
os: windows-latest
|
2020-12-13 21:40:54 +01:00
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
steps:
|
2022-10-01 18:26:05 +02:00
|
|
|
- uses: actions/checkout@v3
|
2020-12-13 21:40:54 +01:00
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
2022-10-01 18:39:43 +02:00
|
|
|
uses: actions/setup-node@v3
|
2020-12-13 21:40:54 +01:00
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node-version }}
|
2021-09-19 09:25:47 +02:00
|
|
|
cache: "yarn"
|
2022-10-20 12:33:00 +02:00
|
|
|
- run: yarn run ci
|
|
|
|
- run: yarn run lint
|
2020-12-13 21:40:54 +01:00
|
|
|
|
|
|
|
- name: Get Version Number
|
|
|
|
uses: nyaayaya/package-version@v1
|
|
|
|
with:
|
|
|
|
path: 'package.json'
|
|
|
|
follow-symlinks: false
|
|
|
|
|
|
|
|
- name: Build x64 with Node.js ${{ matrix.node-version}}
|
|
|
|
if: contains(matrix.runtime, 'x64')
|
2022-10-21 03:22:51 +02:00
|
|
|
run: yarn run build
|
2020-12-13 21:40:54 +01:00
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Build ARMv7l with Node.js ${{ matrix.node-version}}
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
|
2022-10-21 03:22:51 +02:00
|
|
|
run: yarn run build:arm32
|
2022-10-20 12:33:00 +02:00
|
|
|
|
2020-12-13 21:40:54 +01:00
|
|
|
- name: Build ARM64 with Node.js ${{ matrix.node-version}}
|
2022-09-06 23:18:29 +02:00
|
|
|
if: contains(matrix.runtime, 'arm64')
|
2022-10-21 03:22:51 +02:00
|
|
|
run: yarn run build:arm64
|
2020-12-13 21:40:54 +01:00
|
|
|
|
|
|
|
- name: Upload AppImage x64 Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube_${{ env.PACKAGE_VERSION }}_amd64.AppImage
|
|
|
|
asset_path: build/FreeTube-${{ env.PACKAGE_VERSION }}.AppImage
|
|
|
|
asset_content_type: application/vnd.appimage
|
|
|
|
|
|
|
|
- name: Upload Linux .zip x64 Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-linux-portable-x64.zip
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}.zip
|
|
|
|
asset_content_type: application/zip
|
|
|
|
|
2022-09-10 16:24:22 +02:00
|
|
|
- name: Upload Linux .7z x64 Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-linux-portable-x64.7z
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}.7z
|
|
|
|
asset_content_type: application/x-7z-compressed
|
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Linux .zip ARMv7l Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
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/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-linux-portable-armv7l.zip
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-armv7l.zip
|
|
|
|
asset_content_type: application/zip
|
|
|
|
|
2022-09-10 16:24:22 +02:00
|
|
|
- name: Upload Linux .7z ARMv7l Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
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/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-linux-portable-armv7l.7z
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-armv7l.7z
|
|
|
|
asset_content_type: application/x-7z-compressed
|
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Linux .zip ARM64 Release
|
2020-12-13 21:40:54 +01:00
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-linux-portable-arm64.zip
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-arm64.zip
|
|
|
|
asset_content_type: application/zip
|
|
|
|
|
2022-09-10 16:24:22 +02:00
|
|
|
- name: Upload Linux .7z ARM64 Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-linux-portable-arm64.7z
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-arm64.7z
|
|
|
|
asset_content_type: application/x-7z-compressed
|
|
|
|
|
2020-12-13 21:40:54 +01:00
|
|
|
- name: Upload Linux .deb x64 Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube_${{ env.PACKAGE_VERSION }}_amd64.deb
|
|
|
|
asset_path: build/freetube_${{ env.PACKAGE_VERSION }}_amd64.deb
|
|
|
|
asset_content_type: application/vnd.debian.binary-package
|
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Linux .deb ARMv7l Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
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/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube_${{ env.PACKAGE_VERSION }}_armv7l.deb
|
|
|
|
asset_path: build/freetube_${{ env.PACKAGE_VERSION }}_armv7l.deb
|
|
|
|
asset_content_type: application/vnd.debian.binary-package
|
2022-10-20 12:33:00 +02:00
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Linux .deb ARM64 Release
|
2020-12-13 21:40:54 +01:00
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube_${{ env.PACKAGE_VERSION }}_arm64.deb
|
|
|
|
asset_path: build/freetube_${{ env.PACKAGE_VERSION }}_arm64.deb
|
|
|
|
asset_content_type: application/vnd.debian.binary-package
|
|
|
|
|
|
|
|
- name: Upload Linux .rpm x64 Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube_${{ env.PACKAGE_VERSION }}_amd64.rpm
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}.x86_64.rpm
|
|
|
|
asset_content_type: application/x-rpm
|
2022-10-20 12:33:00 +02:00
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
# rpm are not built for armv7l
|
2020-12-13 21:40:54 +01:00
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Linux .rpm ARM64 Release
|
2020-12-13 21:40:54 +01:00
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube_${{ env.PACKAGE_VERSION }}_arm64.rpm
|
2021-03-07 00:43:51 +01:00
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}.aarch64.rpm
|
2020-12-13 21:40:54 +01:00
|
|
|
asset_content_type: application/x-rpm
|
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Windows x64 .exe Release
|
2020-12-13 21:40:54 +01:00
|
|
|
uses: actions/upload-release-asset@v1
|
2022-09-06 23:18:29 +02:00
|
|
|
if: startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-x64')
|
2020-12-13 21:40:54 +01:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-setup-x64.exe
|
|
|
|
asset_path: build/freetube Setup ${{ env.PACKAGE_VERSION }}.exe
|
|
|
|
asset_content_type: application/x-ms-dos-executable
|
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Windows arm64 .exe Release
|
2020-12-13 21:40:54 +01:00
|
|
|
uses: actions/upload-release-asset@v1
|
2022-09-06 23:18:29 +02:00
|
|
|
if: startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-arm64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-setup-arm64.exe
|
|
|
|
asset_path: build/freetube Setup ${{ env.PACKAGE_VERSION }}.exe
|
|
|
|
asset_content_type: application/x-ms-dos-executable
|
|
|
|
|
|
|
|
- name: Upload Windows x64 .zip Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-x64')
|
2020-12-13 21:40:54 +01:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
2020-12-18 19:21:40 +01:00
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-win-x64-portable.zip
|
2020-12-13 21:40:54 +01:00
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-win.zip
|
|
|
|
asset_content_type: application/zip
|
|
|
|
|
2022-09-10 16:24:22 +02:00
|
|
|
- name: Upload Windows x64 .7z Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-x64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-win-x64-portable.7z
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-win.7z
|
|
|
|
asset_content_type: application/x-7z-compressed
|
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Windows arm64 .zip Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-arm64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-win-arm64-portable.zip
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-arm64-win.zip
|
|
|
|
asset_content_type: application/zip
|
2022-09-10 16:24:22 +02:00
|
|
|
|
|
|
|
- name: Upload Windows arm64 .7z Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-arm64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-win-arm64-portable.7z
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-arm64-win.7z
|
|
|
|
asset_content_type: application/x-7z-compressed
|
2022-10-20 12:33:00 +02:00
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Windows x64 portable Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-x64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-win-x64-portable.exe
|
|
|
|
asset_path: build/FreeTube ${{ env.PACKAGE_VERSION }}.exe
|
|
|
|
asset_content_type: application/x-ms-dos-executable
|
|
|
|
|
|
|
|
- name: Upload Windows arm64 portable Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'windows') && startsWith(matrix.runtime, 'win-arm64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-win-arm64-portable.exe
|
|
|
|
asset_path: build/FreeTube ${{ env.PACKAGE_VERSION }}.exe
|
|
|
|
asset_content_type: application/x-ms-dos-executable
|
2022-10-20 12:33:00 +02:00
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Mac x64 .dmg Release
|
2020-12-13 21:40:54 +01:00
|
|
|
uses: actions/upload-release-asset@v1
|
2022-09-06 23:18:29 +02:00
|
|
|
if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-x64')
|
2020-12-13 21:40:54 +01:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
2022-09-06 23:18:29 +02:00
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-mac-x64.dmg
|
2020-12-13 21:40:54 +01:00
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}.dmg
|
|
|
|
asset_content_type: application/x-apple-diskimage
|
2022-09-06 23:18:29 +02:00
|
|
|
|
|
|
|
# - name: Upload Mac arm64 .dmg Release
|
|
|
|
# uses: actions/upload-release-asset@v1
|
|
|
|
# if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-arm64')
|
|
|
|
# env:
|
|
|
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# with:
|
|
|
|
# upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
# asset_name: freetube-${{ env.PACKAGE_VERSION }}-mac-arm64.dmg
|
|
|
|
# asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-arm64.dmg
|
|
|
|
# asset_content_type: application/x-apple-diskimage
|
2022-10-20 12:33:00 +02:00
|
|
|
|
2022-09-06 23:18:29 +02:00
|
|
|
- name: Upload Mac x64 .zip Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-x64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-mac-x64.zip
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-mac.zip
|
2022-09-10 16:24:22 +02:00
|
|
|
asset_content_type: application/zip
|
|
|
|
|
|
|
|
- name: Upload Mac x64 .7z Release
|
|
|
|
uses: actions/upload-release-asset@v1
|
|
|
|
if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-x64')
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
asset_name: freetube-${{ env.PACKAGE_VERSION }}-mac-x64.7z
|
|
|
|
asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-mac.7z
|
|
|
|
asset_content_type: application/x-7z-compressed
|
2022-09-06 23:18:29 +02:00
|
|
|
|
|
|
|
# - name: Upload Mac arm64 .zip Release
|
|
|
|
# uses: actions/upload-release-asset@v1
|
|
|
|
# if: startsWith(matrix.os, 'macos') && startsWith(matrix.runtime, 'osx-arm64')
|
|
|
|
# env:
|
|
|
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# with:
|
|
|
|
# upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ secrets.UPLOAD_ID }}/assets{?name,label}
|
|
|
|
# asset_name: freetube-${{ env.PACKAGE_VERSION }}-mac-arm64.zip
|
|
|
|
# asset_path: build/freetube-${{ env.PACKAGE_VERSION }}-arm64-mac.zip
|
|
|
|
# asset_content_type: application/x-apple-diskimage
|
2022-10-20 12:33:00 +02:00
|
|
|
|