Skip to content

Commit 889b12f

Browse files
authored
Update forms.yml
1 parent d3dbff6 commit 889b12f

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/forms.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,25 @@ on:
44
- project*.toml
55
- .github/workflows/forms.yml
66
jobs:
7-
upload-artefact:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: checkout repo
11-
uses: actions/checkout@v4
12-
- name: Upload project TOML file as artifact
13-
uses: actions/upload-artifact@v4
14-
with:
15-
name: _callerproject.toml
16-
path: project_*.toml
17-
overwrite: true
18-
if-no-files-found: error
19-
build-deploy:
7+
8+
ask-for-consent:
209
runs-on: ubuntu-latest
2110
strategy:
2211
matrix:
2312
language:
2413
- de
2514
- en
2615
steps:
16+
17+
- name: checkout repo
18+
uses: actions/checkout@v4
19+
- name: Read project TOML file
20+
id: read_toml
21+
run: |
22+
toml_content=$(cat project_*.toml)
23+
echo "toml_content=$toml_content" >> $GITHUB_OUTPUT
2724
- name: Generate Forms
2825
uses: s-ccs/consentform_gh_action@main
2926
with:
3027
language: ${{ matrix.language }}
28+
project_toml: ${{ steps.read_toml.outputs.toml_content }}

0 commit comments

Comments
 (0)