Open Feichtmeier opened 10 months ago
Sorry, I've posted with my corporate account :D
I can look into it
In the meantime, I think this could be the solution
Those few lines are what the shell script should be implemented (changed).
Here's the PR
https://github.com/ubuntu-flutter-community/musicpod/pull/393
And btw, I think it should be hooked to releases which there is none in this repo.
Hey 👋 The action works but it after the ran the app image is gone Any idea how to connect this action to the releases?
name: AppImage Release
on:
push:
branches: [ main ]
env:
FLUTTER_VERSION: '3.16.x'
jobs:
build-appimage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: ${{env.FLUTTER_VERSION}}
- run: sudo apt update
- run: sudo apt install -y clang cmake curl libgtk-3-dev ninja-build pkg-config unzip libunwind-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libmpv-dev
- run: flutter --disable-analytics
- run: flutter pub get
- run: flutter build linux --release
- uses: AppImageCrafters/build-appimage@master
with:
recipe: "./AppImageBuilder.yml"
env:
UPLOAD_INFO: gh-releases-v2|ubuntu-flutter-community|musicpod|latest|*x86_64.AppImage
- name: Create GitHub Release
uses: appleboy/github-release@master
with:
tag_name: '${{ github.ref_name }}'
token: ${{ secrets.GITHUB_TOKEN }}
I think these last 5 lines should do the trick. I think I made I typo for UPDATE_INFO in the first and UPLOAD_INFO should be correct.
You can try this, but I'll check it out when I get some spare time. This is out of head (and some other actions I've made).
appleboy/github-release@master
Thanks :)
appleboy/github-release@master doesnt exist any more but there are a bunch others we could try
elgohr/Github-Release-Action marvinpinto/action-automatic-releases softprops/action-gh-release ncipollo/release-action
appleboy/github-release@master
Thanks :)
appleboy/github-release@master doesnt exist any more but there are a bunch others we could try
elgohr/Github-Release-Action marvinpinto/action-automatic-releases softprops/action-gh-release ncipollo/release-action
This can be used for all releases in the future that are not snap
@eboye managed to create a good release cycle via bots now with release please and creating macos artifacts then
for the snap it always worked
but for the appimage I managed to attach it to the release action however it fails at some point and/or the appimag is not attached to the release maybe if you find time would be cool if you could take a look, in the end you are the only one here using the app image : D
@eboye hey I am taking another look and I would really like to have a githubaction to build the appimages for people who prefer manual downloads over store downloads
I am trying a github action but with the appimage-buidler action I miss some "app image receipe"
Can your bash script be used to create such a receipe?
Originally posted by @Feichtmeier in https://github.com/ubuntu-flutter-community/musicpod/issues/257#issuecomment-1866325051