Skip to content

Commit

Permalink
Merge pull request #883 from Orange-OpenSource/develop
Browse files Browse the repository at this point in the history
Release 1.0.0
  • Loading branch information
florentmaitre committed Mar 13, 2024
2 parents 8433eab + dfc0edb commit ca6eba5
Show file tree
Hide file tree
Showing 779 changed files with 16,126 additions and 7,704 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- name: Set up our JDK environment
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
Expand All @@ -49,31 +50,31 @@ jobs:
./gradlew assemble -PversionNameSuffix="-${COMMIT_SHA::7}" -PversionCode=$GITHUB_RUN_NUMBER --stacktrace
- name: Store app artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: app
path: app/build/outputs/apk/*/*/*.apk

- name: Store lib artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lib
path: lib/build/outputs/aar/*.aar

- name: Store theme-contract artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: theme-contract
path: theme-contract/build/outputs/aar/*.aar

- name: Store theme-innovation-cup artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: theme-innovation-cup
path: theme-innovation-cup/build/outputs/aar/*.aar

- name: Store theme-orange artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: theme-orange
path: theme-orange/build/outputs/aar/*.aar
Expand All @@ -87,12 +88,13 @@ jobs:
url: https://mvnrepository.com/artifact/com.orange.ods.android
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- name: Set up our JDK environment
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
Expand Down Expand Up @@ -123,12 +125,13 @@ jobs:
url: https://github.com/Orange-OpenSource/ods-android/releases
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- name: Set up our JDK environment
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
Expand All @@ -155,12 +158,13 @@ jobs:
url: https://play.google.com/store/apps
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- name: Set up our JDK environment
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
Expand All @@ -171,7 +175,7 @@ jobs:
curl -F 'file=@app/build/outputs/bundle/prodRelease/app-prod-release.aab' https://oma-portal.orange.fr/oma/api/v1/external/applications/${{ secrets.OMA_APP_ID }}/artifacts -H "apiKey:${{ secrets.OMA_APP_TOKEN }}"
- name: Store Google Play Store artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: google-play-store
path: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/app-distribution-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:
if: github.repository == 'Orange-OpenSource/ods-android'
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive

- name: Set up our JDK environment
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -43,7 +43,7 @@ jobs:
bundle install
bundle exec jekyll build
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/_site

Expand All @@ -57,5 +57,5 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "vendor/ods-jekyll-theme"]
path = vendor/ods-jekyll-theme
url = ../ods-jekyll-theme.git
[submodule "vendor/accessibility-statement-lib-android"]
path = vendor/accessibility-statement-lib-android
url = ../accessibility-statement-lib-android.git
5 changes: 5 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/copyright/MIT_Orange.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ Adhering to the following process is the best way to get your work included in t
2. If you cloned a while ago, get the latest changes from upstream:

```bash
git checkout main
git pull upstream main
git checkout develop
git pull upstream develop
```

3. Create a new topic branch (off the main project development branch) to contain your feature, change, or fix:
Expand All @@ -100,7 +100,7 @@ Adhering to the following process is the best way to get your work included in t
5. Locally merge (or rebase) the upstream development branch into your topic branch:
```bash
git pull [--rebase] upstream main
git pull [--rebase] upstream develop
```
6. Push your topic branch up to your fork:
Expand All @@ -109,7 +109,7 @@ Adhering to the following process is the best way to get your work included in t
git push origin <topic-branch-name>
```
7. [Open a Pull Request](https://help.github.com/articles/about-pull-requests/) with a clear title and description against the `main` branch.
7. [Open a Pull Request](https://help.github.com/articles/about-pull-requests/) with a clear title and description against the `develop` branch.
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to license your work under the terms of the [MIT License](LICENSE).
Expand Down
6 changes: 5 additions & 1 deletion DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repositories {

```groovy
dependencies {
implementation 'com.orange.ods.android:ods-lib:0.18.0'
implementation 'com.orange.ods.android:ods-lib:1.0.0'
}
```

Expand All @@ -35,4 +35,8 @@ Execute the commands below to generate and run the documentation:

If you encounter errors during installation and your platform is not listed in the `PLATFORMS` section of `Gemfile.lock`, you can optionally run `bundle platform` to retrieve your platform, then `bundle lock --add-platform <your_platform>` to install specific dependencies for your platform.

In case you need to update the submodules, please run and commit the changes it brings:

`git submodule foreach git pull origin main`

Finally, open your browser and go to http://127.0.0.1:4000/ods-android/
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Orange
Copyright (c) Orange SA

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit ca6eba5

Please sign in to comment.