File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 27
27
name : test-tarball
28
28
path : release.tar.gz
29
29
30
+ - name : Trigger fedora testing
31
+ # if: ${{ github.event_name != 'merge_group' }}
32
+ run : |
33
+ curl -X POST \
34
+ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
35
+ -H "Accept: application/vnd.github+json" \
36
+ https://api.github.com/repos/domjudge/domjudge/actions/workflows/autoconf-check-different-distro.yml/dispatches \
37
+ -d '{"ref":"main"}'
38
+
30
39
debian-family :
31
40
needs : build
32
41
strategy :
62
71
- name : Setup image and run bats tests
63
72
workdir : domjudge
64
73
run : .github/jobs/configure-checks/setup_configure_image.sh
74
+
75
+ # name: Build and Trigger Workflows
76
+ # # Either just filter the fedora stuff in onther build step (and run on main but skip) or trigger 2 workflows. I don't work enough with GHA to see which one I prefer for now.
77
+ #
78
+ # on:
79
+ # push:
80
+ # branches:
81
+ # - main
82
+ #
83
+ # jobs:
84
+ # build:
85
+ # name: Build Artifact
86
+ # runs-on: ubuntu-latest
87
+ #
88
+ # steps:
89
+ # - name: Checkout code
90
+ # uses: actions/checkout@v3
91
+ #
92
+ # - name: Build project
93
+ # run: |
94
+ # # Example build command
95
+ # mkdir -p build
96
+ # echo "Artifact content" > build/artifact.txt
97
+ #
98
+ # - name: Upload artifact
99
+ # uses: actions/upload-artifact@v3
100
+ # with:
101
+ # name: my-artifact
102
+ # path: build/artifact.txt
103
+ #
104
+ #
105
+ # - name: Trigger workflow 2
106
+ # run: |
107
+ # curl -X POST \
108
+ # -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
109
+ # -H "Accept: application/vnd.github+json" \
110
+ # https://api.github.com/repos/${{ github.repository }}/actions/workflows/workflow_2.yml/dispatches \
111
+ # -d '{"ref":"main"}'
112
+ #
113
+ #
You can’t perform that action at this time.
0 commit comments