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 2727 name : test-tarball
2828 path : release.tar.gz
2929
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+
3039 debian-family :
3140 needs : build
3241 strategy :
6271 - name : Setup image and run bats tests
6372 workdir : domjudge
6473 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