mirror of https://github.com/ecmwf/eccodes.git
parent
0d3fae200c
commit
34ffb5b28e
|
@ -5,7 +5,7 @@ on:
|
||||||
|
|
||||||
# Run at 20:00 UTC every day (on default branch)
|
# Run at 20:00 UTC every day (on default branch)
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 20 * * *"
|
- cron: '0 20 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
@ -15,10 +15,26 @@ jobs:
|
||||||
nightly_test: true
|
nightly_test: true
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
needs: [test]
|
||||||
|
uses: ecmwf-actions/reusable-workflows/.github/workflows/create-package.yml@v2
|
||||||
|
with:
|
||||||
|
skip_checks: true
|
||||||
|
cpack_options_rpm: -D CPACK_PACKAGE_FILE_NAME=eccodes-nightly-Linux-x86_64
|
||||||
|
cpack_options_deb: -D CPACK_PACKAGE_VERSION=nightly
|
||||||
|
secrets:
|
||||||
|
url_debian_11: ${{ secrets.NEXUS_TEST_REPO_NIGHTLY_URL_DEBIAN_11 }}
|
||||||
|
token_debian_11: ${{ secrets.NEXUS_TEST_REPO_UPLOAD_TOKEN }}
|
||||||
|
url_centos_7: ${{ secrets.NEXUS_TEST_REPO_NIGHTLY_URL_CENTOS_7 }}
|
||||||
|
token_centos_7: ${{ secrets.NEXUS_TEST_REPO_UPLOAD_TOKEN }}
|
||||||
|
url_rocky_8: ${{ secrets.NEXUS_TEST_REPO_NIGHTLY_URL_ROCKY_8 }}
|
||||||
|
token_rocky_8: ${{ secrets.NEXUS_TEST_REPO_UPLOAD_TOKEN }}
|
||||||
|
|
||||||
notify:
|
notify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- test
|
- test
|
||||||
|
- deploy
|
||||||
if: always()
|
if: always()
|
||||||
steps:
|
steps:
|
||||||
- name: Trigger Teams notification
|
- name: Trigger Teams notification
|
||||||
|
|
Loading…
Reference in New Issue