Skip to content

Commit

Permalink
ci: update other workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
nsenave committed Nov 6, 2023
1 parent b500393 commit 39221c2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- '*.*.*'

env:
ENO_BRANCH: 'lunatic-v1-main-last-version'
LUNATIC_MODEL_TAG: '2.2.10'

jobs:

test:
Expand All @@ -22,7 +26,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: main
ref: ${{ env.ENO_BRANCH }}
repository: InseeFr/Eno
path: Eno

Expand All @@ -34,7 +38,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: develop
ref: ${{ env.LUNATIC_MODEL_TAG }}
repository: InseeFr/Lunatic-model
path: Lunatic-model

Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
branches:
- "**"

env:
ENO_BRANCH: 'lunatic-v1-main-last-version'
LUNATIC_MODEL_TAG: '2.2.10'

jobs:

test:
runs-on: ubuntu-latest
env:
ENOBRANCH: main
LUNATICBRANCH: develop

steps:
- uses: actions/checkout@v2
with:
Expand All @@ -25,7 +27,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: ${{ env.ENOBRANCH }}
ref: ${{ env.ENO_BRANCH }}
repository: InseeFr/Eno
path: Eno

Expand All @@ -37,7 +39,7 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 1
ref: ${{ env.LUNATICBRANCH }}
ref: ${{ env.LUNATIC_MODEL_TAG }}
repository: InseeFr/Lunatic-model
path: Lunatic-model

Expand Down

0 comments on commit 39221c2

Please sign in to comment.