Skip to content
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

CI/CD pipeline / GitHub action #30

Open
sapatevaibhav opened this issue May 11, 2024 · 15 comments · May be fixed by #138
Open

CI/CD pipeline / GitHub action #30

sapatevaibhav opened this issue May 11, 2024 · 15 comments · May be fixed by #138
Assignees
Labels
gssoc Girl Script Summer of Code level3 Complex to solve issues for GSSoC'24

Comments

@sapatevaibhav
Copy link
Member

Implement a simple dart CI/CD pipeline which will run after every push to the main branch...

@sapatevaibhav sapatevaibhav added gssoc Girl Script Summer of Code level2 Medium to solve issues for GSSoC'24 labels May 11, 2024
@hariram4862
Copy link

hariram4862 commented May 11, 2024

i would like to contribute.. can u pls assign it to me?? I am working on #8 .. i will probably complete that by tonight..

@hariram4862
Copy link

@sapatevaibhav Forked Repo Link.. I have tried almost 16 times with different version of kotlin, but I am stuck with this. It shows expected kotlin version is different. I have referred all internet stuffs, but unable to solve that. Pls help me out.

@sapatevaibhav sapatevaibhav added level3 Complex to solve issues for GSSoC'24 and removed level2 Medium to solve issues for GSSoC'24 labels May 11, 2024
@sapatevaibhav
Copy link
Member Author

Yes the issue is only causing at the time of release build.
Try updating flutter_packages

flutter pub get
flutter pub outdated
flutter pub upgrade --major-versions

and then try the workflow...

@hariram4862
Copy link

ok

@hariram4862
Copy link

Yes the issue is only causing at the time of release build. Try updating flutter_packages

flutter pub get
flutter pub outdated
flutter pub upgrade --major-versions

and then try the workflow...

i have tried this... but this isn't working... i am getting this error.. i tried with all possible versions of kotlin and other flutter packages, it isn't working.... but the app is getting built locally on AVD... but not in workflow..
Screenshot 2024-05-12 112050

@sapatevaibhav
Copy link
Member Author

sapatevaibhav commented May 12, 2024

Give a try to 1.9.0

buildscript {
    ext.kotlin_version = '1.9.0'
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

it compiled for me
image
If nothing changes let me know.

@hariram4862
Copy link

You did this with ur repo or with my forked one ?

@sapatevaibhav
Copy link
Member Author

The latest one pull first then try.

@hariram4862
Copy link

Can u pls share the code of android/build.gradle , android/app/build.gradle, android/settings.gradle ? Of the one which u recently used (successfully built one)... I tried with ur current repository and mine ...It's not working.. again showing error that it is incompatible kotlin version..

@sapatevaibhav
Copy link
Member Author

Take a look at My workflow The error is not related to kotlin it is related to StoreFile. (Kotlin warnings are few and have no impact on pipeline termination).
Last option.....

@sapatevaibhav
Copy link
Member Author

If nothing changes build simple pipeline without release.

@hariram4862
Copy link

@sapatevaibhav Hi. I have sem exams this week. Probably, I will continue contributing from 21st may. So, I kindly request you to hold me as assignee.

Thank you.

@samarsajad
Copy link
Contributor

@sapatevaibhav can you please assign me this issue under GSSOC 2024

@samarsajad samarsajad linked a pull request May 25, 2024 that will close this issue
@sapatevaibhav
Copy link
Member Author

@hariram4862 are you done with exams. ;-)

@hiranj-kotak
Copy link
Contributor

Hey @sapatevaibhav as hariram is not showing up.
Can you pls assign this issue to me .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc Girl Script Summer of Code level3 Complex to solve issues for GSSoC'24
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants