mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Attempt at Github automation
This commit is contained in:
parent
7138d1c117
commit
1ca55bb078
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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")
|
||||||
|
|||||||
2
packaging/linux/appimage/CMakeLists.txt
Normal file
2
packaging/linux/appimage/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Name desktop files, because linuxdeploy doesn't work with variables properly
|
||||||
|
configure_file("Build.in" "Build" @ONLY)
|
||||||
Loading…
Reference in New Issue
Block a user