-
Notifications
You must be signed in to change notification settings - Fork 0
Flatpak #254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Flatpak #254
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
8822af1
Remove flatpack
Jordonbc d7669e0
Update publish-stable.yml
Jordonbc 29d07dc
Update publish-stable.yml
Jordonbc de4a13e
Create flatpak-test.yml
Jordonbc c950ec4
Potential fix for pull request finding 'CodeQL / Workflow does not co…
Jordonbc 9e56876
Update README.md
Jordonbc 2b85ab7
Create update-flathub.js
Jordonbc 406bb2d
Update Justfile
Jordonbc 6abb9ca
Update AGENTS.md
Jordonbc 32f705c
Update publish-stable.yml
Jordonbc 1b800a0
Update publish-stable.yml
Jordonbc b733107
Update publish-stable.yml
Jordonbc cb3ca12
Update publish-stable.yml
Jordonbc 1d200a0
Update publish-stable.yml
Jordonbc 7ab2b94
Update update-flathub.js
Jordonbc a555fa5
Update README.md
Jordonbc fbf33c1
Update update-flathub.js
Jordonbc da7c37f
Update update-flathub.js
Jordonbc 05f0b40
Update update-flathub.js
Jordonbc 4337580
Update README.md
Jordonbc a1b6c20
Update update-flathub.js
Jordonbc 5b671c0
Update publish-stable.yml
Jordonbc 9f1e6b0
Update flatpak-test.yml
Jordonbc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| name: flatpak-test | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| build-flatpak: | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| lfs: true | ||
|
|
||
| - name: Checkout Flathub manifest repo | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| repository: Open-VCS/flathub | ||
| path: flathub | ||
|
|
||
| - name: Setup Node | ||
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | ||
| with: | ||
| node-version: '24' | ||
| cache: 'npm' | ||
| cache-dependency-path: Frontend/package-lock.json | ||
|
|
||
| - name: Install frontend deps | ||
| working-directory: Frontend | ||
| run: npm ci | ||
|
|
||
| - name: Build frontend | ||
| working-directory: Frontend | ||
| run: npm run build | ||
|
|
||
| - name: Install Linux build deps | ||
| shell: bash | ||
| run: | | ||
| set -euxo pipefail | ||
| sudo apt-get update | ||
| sudo apt-get install -y libappindicator3-dev librsvg2-dev patchelf | ||
| sudo apt-get install -y libwebkit2gtk-4.1-dev || sudo apt-get install -y libwebkit2gtk-4.0-dev | ||
|
|
||
| - name: Install Flatpak tooling | ||
| shell: bash | ||
| run: | | ||
| set -euxo pipefail | ||
| sudo apt-get update | ||
| sudo apt-get install -y --no-install-recommends flatpak flatpak-builder appstream elfutils | ||
| flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | ||
| flatpak install --user -y flathub org.gnome.Platform//49 org.gnome.Sdk//49 | ||
| flatpak install --user -y flathub org.freedesktop.Sdk.Extension.rust-stable//25.08 \ | ||
| || flatpak install --user -y flathub org.freedesktop.Sdk.Extension.rust-stable//24.08 \ | ||
| || flatpak install --user -y flathub org.freedesktop.Sdk.Extension.rust-stable | ||
| flatpak install --user -y flathub org.freedesktop.Sdk.Extension.node24//25.08 \ | ||
| || flatpak install --user -y flathub org.freedesktop.Sdk.Extension.node24//24.08 | ||
|
|
||
| - name: Build Flatpak bundle | ||
| shell: bash | ||
| run: | | ||
| set -euxo pipefail | ||
| flatpak-builder \ | ||
| --env=OPENVCS_OFFICIAL_RELEASE=1 \ | ||
| --user --force-clean --repo=repo build-flatpak flathub/io.github.jordonbc.OpenVCS.yml | ||
| flatpak build-bundle repo OpenVCS-test.flatpak io.github.jordonbc.OpenVCS | ||
|
|
||
| - name: Upload Flatpak artifact | ||
| uses: actions/upload-artifact@v7 | ||
| with: | ||
| name: OpenVCS-flatpak-test | ||
| path: OpenVCS-test.flatpak | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.