File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 56
56
working-directory : release
57
57
run : .github/jobs/configure-checks/setup_configure_image.sh
58
58
59
+ - name : Trigger fedora testing
60
+ # if: ${{ github.event_name != 'merge_group' }}
61
+ run : |
62
+ curl -X POST \
63
+ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
64
+ -H "Accept: application/vnd.github+json" \
65
+ https://api.github.com/repos/domjudge/domjudge/actions/workflows/autoconf-check-different-distro.yml/dispatches \
66
+ -d '{"ref":"main"}'
67
+
59
68
debian-family :
60
69
needs : build
61
70
strategy :
@@ -94,3 +103,42 @@ jobs:
94
103
working-directory : release
95
104
run : .github/jobs/configure-checks/setup_configure_image.sh
96
105
106
+ # name: Build and Trigger Workflows
107
+ # # 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.
108
+ #
109
+ # on:
110
+ # push:
111
+ # branches:
112
+ # - main
113
+ #
114
+ # jobs:
115
+ # build:
116
+ # name: Build Artifact
117
+ # runs-on: ubuntu-latest
118
+ #
119
+ # steps:
120
+ # - name: Checkout code
121
+ # uses: actions/checkout@v3
122
+ #
123
+ # - name: Build project
124
+ # run: |
125
+ # # Example build command
126
+ # mkdir -p build
127
+ # echo "Artifact content" > build/artifact.txt
128
+ #
129
+ # - name: Upload artifact
130
+ # uses: actions/upload-artifact@v3
131
+ # with:
132
+ # name: my-artifact
133
+ # path: build/artifact.txt
134
+ #
135
+ #
136
+ # - name: Trigger workflow 2
137
+ # run: |
138
+ # curl -X POST \
139
+ # -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
140
+ # -H "Accept: application/vnd.github+json" \
141
+ # https://api.github.com/repos/${{ github.repository }}/actions/workflows/workflow_2.yml/dispatches \
142
+ # -d '{"ref":"main"}'
143
+ #
144
+ #
You can’t perform that action at this time.
0 commit comments