From f26e7a6f39c7326919b9157224dfc38cec6747ff Mon Sep 17 00:00:00 2001 From: Jorn Bruggeman Date: Tue, 10 Oct 2023 08:40:12 +0100 Subject: [PATCH] github action tweaks --- .github/workflows/add-release-assets.yml | 5 +++-- .github/workflows/update-fabm-plus.yml | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/add-release-assets.yml b/.github/workflows/add-release-assets.yml index af66fb1f..b638d86d 100644 --- a/.github/workflows/add-release-assets.yml +++ b/.github/workflows/add-release-assets.yml @@ -32,5 +32,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh release upload ${{ github.ref_name }} code.tar.gz#"Source code including third-party biogeochemical models (tar.gz)" - gh release upload ${{ github.ref_name }} code.zip#"Source code including third-party biogeochemical models (zip)" + gh release list --repo fabm-model/fabm + gh release upload ${{ github.ref_name }} code.tar.gz#"Source code including externally maintained biogeochemical models (tar.gz)" --repo fabm-model/fabm + gh release upload ${{ github.ref_name }} code.zip#"Source code including externally maintained biogeochemical models (zip)" --repo fabm-model/fabm diff --git a/.github/workflows/update-fabm-plus.yml b/.github/workflows/update-fabm-plus.yml index 9143b38b..8ac41aff 100644 --- a/.github/workflows/update-fabm-plus.yml +++ b/.github/workflows/update-fabm-plus.yml @@ -1,5 +1,8 @@ name: Merge changes into fabm-plus and push -on: [push] +on: + push: + branches: + - master jobs: merge: runs-on: ubuntu-latest