Skip to content

Commit 8a8c49b

Browse files
committed
further github-gitlab testing
1 parent 1e6a0bd commit 8a8c49b

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

.github/workflows/ci_pipeline.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,28 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v3
1717

18-
- name: Zip
19-
run: |
20-
cd ..
21-
tar -zcf pySDC.tar.gz pySDC
22-
mv pySDC.tar.gz pySDC/.
18+
# - name: Zip
19+
# run: |
20+
# cd ..
21+
# tar -zcf pySDC.tar.gz pySDC
22+
# mv pySDC.tar.gz pySDC/.
2323

24-
- uses: actions/upload-artifact@v3
24+
# - uses: actions/upload-artifact@v3
25+
# with:
26+
# name: pySDC
27+
# path: pySDC
28+
- uses: jwalton/gh-find-current-pr@v1
29+
id: findPr
2530
with:
26-
name: pySDC
27-
path: pySDC.tar.gz
31+
# Can be "open", "closed", or "all". Defaults to "open".
32+
state: open
2833

2934
- name: trigger Gitlab CI
3035
run: |
3136
curl --request POST \
3237
--form token=${{ secrets.GITLAB_TRIGGER_TOKEN }} \
3338
--form ref=main \
34-
--form "variables[TEST]=true" \
39+
--form "variables[PR_NUMBER]=${{ steps.findPr.outputs.pr }}" \
3540
"https://gitlab.hzdr.de/api/v4/projects/6200/trigger/pipeline"
3641
3742
# lint:

git_test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
testing

0 commit comments

Comments
 (0)