mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
Rename.
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
name: flatpak-latest Development Build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
BUILD_TYPE: Release
|
||||
|
||||
jobs:
|
||||
flatpak:
|
||||
name: Build Flatpak
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.10
|
||||
options: --privileged
|
||||
|
||||
steps:
|
||||
- name: Where Am I
|
||||
run: |
|
||||
pwd
|
||||
ls -l
|
||||
lscpu
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Create flatpak-latest tag
|
||||
- uses: rickstaa/action-create-tag@v1
|
||||
with:
|
||||
tag: flatpak-latest
|
||||
force_push_tag: true
|
||||
message: flatpak-latest
|
||||
|
||||
- name: Build Flatpak
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||
with:
|
||||
bundle: seergdb.flatpak
|
||||
manifest-path: flatpak/io.github.epasveer.seer.yml
|
||||
cache-key: flatpak-builder-${{ github.sha }}
|
||||
|
||||
- name: Upload Flatpak bundle as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: seergdb-flatpak
|
||||
path: seergdb.flatpak
|
||||
retention-days: 30
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: Flatpak Development Release
|
||||
body: Build from latest ${{ github.ref_name }} branch.
|
||||
files: |
|
||||
seergdb.flatpak
|
||||
tag_name: flatpak-latest
|
||||
draft: false
|
||||
prerelease: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user