Skip to content

Commit

Permalink
Merge pull request #2 from francoisbonneau/new_version
Browse files Browse the repository at this point in the history
New version
  • Loading branch information
Francois Bonneau authored Aug 2, 2022
2 parents 98b7e33 + 6018574 commit d32f1c9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 34 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,33 @@ on:

jobs:
release-linux:
uses: Geode-solutions/actions/.github/workflows/cd-linux.yml@master
uses: francoisbonneau/my_actions/.github/workflows/opengeode_cd_linux.yml@master
with:
name: OPENGEODE_MYMODULE
repos: OpenGeode
secrets:
TOKEN: ${{ secrets.TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

release-linux-python:
uses: Geode-solutions/actions/.github/workflows/cd-linux-python.yml@master
uses: francoisbonneau/my_actions/.github/workflows/opengeode_cd_linux_python.yml@master
with:
name: OPENGEODE_MYMODULE
repos: OpenGeode
secrets:
TOKEN: ${{ secrets.TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

release-windows:
uses: Geode-solutions/actions/.github/workflows/cd-windows.yml@master
uses: francoisbonneau/my_actions/.github/workflows/opengeode_cd_windows.yml@master
with:
name: OPENGEODE_MYMODULE
repos: OpenGeode
secrets:
TOKEN: ${{ secrets.TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

release-windows-python:
uses: Geode-solutions/actions/.github/workflows/cd-windows-python.yml@master
uses: francoisbonneau/my_actions/.github/workflows/opengeode_cd_windows_python.yml@master
with:
name: OPENGEODE_MYMODULE
repos: OpenGeode
secrets:
TOKEN: ${{ secrets.TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

notify:
uses: Geode-solutions/actions/.github/workflows/end-cd.yml@master
needs: [release-linux, release-linux-python, release-windows, release-windows-python]
secrets:
TOKEN: ${{ secrets.TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
19 changes: 7 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,46 +3,41 @@ name: CI
on:
push:
pull_request:
schedule:
- cron: 0 0 * * *

jobs:
format:
uses: Geode-solutions/actions/.github/workflows/format.yml@master
uses: francoisbonneau/my_actions/.github/workflows/format.yml@master
secrets:
TOKEN: ${{ secrets.TOKEN }}

build-linux:
needs: format
uses: Geode-solutions/actions/.github/workflows/ci-linux.yml@master
uses: francoisbonneau/my_actions/.github/workflows/opengeode_ci_linux.yml@master
with:
repos: OpenGeode
secrets:
TOKEN: ${{ secrets.TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

build-linux-python:
needs: format
uses: Geode-solutions/actions/.github/workflows/ci-linux-python.yml@master
uses: francoisbonneau/my_actions/.github/workflows/opengeode_ci_linux_python.yml@master
with:
name: OPENGEODE_MYMODULE
repos: OpenGeode
secrets:
TOKEN: ${{ secrets.TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

build-windows:
needs: format
uses: Geode-solutions/actions/.github/workflows/ci-windows.yml@master
uses: francoisbonneau/my_actions/.github/workflows/opengeode_ci_windows.yml@master
with:
name: OPENGEODE_MYMODULE
repos: OpenGeode
secrets:
TOKEN: ${{ secrets.TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

semantic-release:
needs: [build-linux, build-linux-python, build-windows]
uses: Geode-solutions/actions/.github/workflows/release.yml@master
uses: francoisbonneau/my_actions/.github/workflows/semantic_release.yml@master
secrets:
TOKEN: ${{ secrets.TOKEN }}
TOKEN: ${{ secrets.TOKEN }}
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,3 @@ Have also a look at this [OpenGeode] documentation: https://docs.geode-solutions
For questions and support please use the official [slack](https://slackin-opengeode.herokuapp.com) and go to the channel #module_template. The issue list of this repo is exclusively for bug reports and feature requests.


## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2019 - 2022, Geode-solutions

0 comments on commit d32f1c9

Please sign in to comment.