Attempt at Github automation

This commit is contained in:
Damglador 2025-06-29 02:44:46 +02:00
parent 7138d1c117
commit 1ca55bb078
4 changed files with 6 additions and 2 deletions

View File

@ -129,7 +129,7 @@ jobs:
- name: Download All Artifacts - name: Download All Artifacts
uses: actions/download-artifact@main uses: actions/download-artifact@main
with: with:
pattern: "{Release-*,*.flatpak}" pattern: "{Release-*,*.flatpak,*.AppImage}"
path: Release path: Release
merge-multiple: true merge-multiple: true

View File

@ -5,6 +5,8 @@ set(APP_SPDX "LGPL-3.0-or-later")
string(TIMESTAMP BUILD_DATE UTC) string(TIMESTAMP BUILD_DATE UTC)
file(COPY icons/isle.svg DESTINATION ${CMAKE_BINARY_DIR}/icons/"${APP_ID}.svg")
# The following will need to be refined if we wish to post actual releases to a repo such as Flathub # The following will need to be refined if we wish to post actual releases to a repo such as Flathub
if(DEFINED ENV{GITHUB_ACTIONS} AND ENV{GITHUB_ACTIONS} EQUAL TRUE) if(DEFINED ENV{GITHUB_ACTIONS} AND ENV{GITHUB_ACTIONS} EQUAL TRUE)
# Use the sequential run# of the current pipeline when running in GH Actions # Use the sequential run# of the current pipeline when running in GH Actions

View File

@ -4,4 +4,4 @@ configure_file(isledecomp.metainfo.xml.in "${APP_ID}.metainfo.xml" @ONLY)
install(FILES "../icons/isle.svg" RENAME "${APP_ID}.svg" DESTINATION "share/icons/hicolor/scalable/apps") install(FILES "../icons/isle.svg" RENAME "${APP_ID}.svg" DESTINATION "share/icons/hicolor/scalable/apps")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${APP_ID}.desktop" DESTINATION "share/applications") install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${APP_ID}.desktop" DESTINATION "share/applications")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${APP_ID}.metainfo.xml" DESTINATION "share/metainfo") install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${APP_ID}.metainfo.xml" DESTINATION "share/metainfo")

View File

@ -0,0 +1,2 @@
# Name desktop files, because linuxdeploy doesn't work with variables properly
configure_file("Build.in" "Build" @ONLY)