Comments (10)
It should be possible yes, not sure why you need to specify the working dir for it to work?
from flatpak-github-actions.
The problem is this: https://github.com/PhoenicisOrg/phoenicis/blob/8befcc028d1e1392f906959521d851c51e6f85b5/phoenicis-dist/src/flatpak/org.phoenicis.playonlinux.yml#L111
from flatpak-github-actions.
It should be just path: target/phoenicis-flatpak.zip
? also, why not build the java application inside the flatpak sandbox? because the application is built on cwd = the git repo we cloned.
from flatpak-github-actions.
It should be just path: target/phoenicis-flatpak.zip
Ok, I could change the path such that everything is relative to the project root dir. Currently, it's not like that because we have all our packaging in that submodule. So I would prefer to change the working directory.
why not build the java application inside the flatpak sandbox
Currently, you cannot build with Maven inside the flatpak. There's an open GitHub issue regarding this.
from flatpak-github-actions.
It should be just path: target/phoenicis-flatpak.zip
Ok, I could change the path such that everything is relative to the project root dir. Currently, it's not like that because we have all our packaging in that submodule. So I would prefer to change the working directory.
why not build the java application inside the flatpak sandbox
Currently, you cannot build with Maven inside the flatpak. There's an open GitHub issue regarding this.
You can use a simple buildsystem and add whatever commands you're using to build the .jar there, can't that work? at least for the CI, as you can have network access at build time if you want to :)
from flatpak-github-actions.
You can use a simple buildsystem and add whatever commands you're using to build the .jar there, can't that work?
As long as I'm outside the flatpak environment, yes.
from flatpak-github-actions.
You can use a simple buildsystem and add whatever commands you're using to build the .jar there, can't that work?
As long as I'm outside the flatpak environment, yes.
What are the differences?
from flatpak-github-actions.
see flatpak/flatpak-builder#58
from flatpak-github-actions.
Sure, I precisely mentioned using a "simple" buildsystem, which allows you to type whatever shell commands you want to execute. The maven build system support would allow you to set buildsystem to "maven" and flatpak-builder will figure out the rest for you.
from flatpak-github-actions.
I see. The project requires Maven, so I don't think that's a practical approach for me.
from flatpak-github-actions.
Related Issues (20)
- Don't use static deltas option HOT 1
- how to export other software in the repo folder,By default, you can only export one
- Building for KDE 6.4 runtime and aarch64 architecture results in errors HOT 2
- Does cache work? HOT 30
- "Smudge error" cloning gst-integration-tests
- Restoring cache of the wrong `arch` HOT 1
- Fedora providing unstable flatpak-builder is triggerring issues HOT 2
- Error CI/CD: Cannot change ownership
- What does the `branch` input do? HOT 1
- Add support for `build-export --subject=foo` HOT 1
- Aarch64 builder image
- How to GPG sign builds?
- Keep on getting this error with disk space
- Build failed with no useful infomation HOT 3
- Migration to upload-artifact version 4 HOT 1
- How use this with submodules ? HOT 1
- Build failed on export HOT 2
- Add option to run flatpak-builder-lint after build HOT 2
- Can not access network in flatpak docker HOT 3
- Unexpected input(s) 'upload-artifact', valid inputs are ...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flatpak-github-actions.