@@ -14,52 +14,59 @@ jobs:
1414 steps :
1515 - name : Checkout Code
1616 uses : actions/checkout@v3
17- # Bouw de `make dist`
1817
19- - name : Create a File
20- run : echo "Hello from the build job!" > hello.txt
18+ - name : Create the distribution tarball
19+ run : |
20+ make dist
21+ cd ..
22+ mv domjudge release
23+ tar -cf release.tar release
24+ gzip -i release.tar
2125
2226 - name : Upload Artifact
23- uses : actions/upload-artifact@v3
27+ uses : actions/upload-artifact@v4
2428 with :
25- name : my-artifact
26- path : hello.txt
29+ name : test-tarball
30+ path : release.tar.gz
2731
28- deploy :
29- needs : build
30- runs-on : ubuntu-latest
31- steps :
32- - name : Download Artifact
33- uses : actions/download-artifact@v3
34- with :
35- name : my-artifact
36-
37- - name : Display File Content
38- run : cat hello.txt
39-
40- debian-family :
41- strategy :
42- matrix :
43- version : [jammy, focal, rolling]
44- os : [ubuntu]
45- releaseBranch :
46- - ${{ contains(github.ref, 'gh-readonly-queue') }}
47- exclude :
48- - releaseBranch : false
49- include :
50- - os : debian
51- version : stable
52- - os : debian
53- version : testing
54- runs-on : ubuntu-latest
55- env :
56- DEBIAN_FRONTEND : noninteractive
57- TZ : Etc/UTC
58- container :
59- image : ${{ matrix.os }}:${{ matrix.version }}
60- steps :
61- - name : Install git so we get the .github directory
62- run : apt-get update; apt-get install -y git
63- - uses : actions/checkout@v4
64- - name : Setup image and run bats tests
65- run : .github/jobs/configure-checks/setup_configure_image.sh
32+ # deploy:
33+ # needs: build
34+ # runs-on: ubuntu-latest
35+ # steps:
36+ #
37+ # - name: Display File Content
38+ # run: cat hello.txt
39+ #
40+ # debian-family:
41+ # needs: build
42+ # strategy:
43+ # matrix:
44+ # version: [jammy, focal, rolling]
45+ # os: [ubuntu]
46+ # releaseBranch:
47+ # - ${{ contains(github.ref, 'gh-readonly-queue') }}
48+ # exclude:
49+ # - releaseBranch: false
50+ # include:
51+ # - os: debian
52+ # version: stable
53+ # - os: debian
54+ # version: testing
55+ # runs-on: ubuntu-latest
56+ # env:
57+ # DEBIAN_FRONTEND: noninteractive
58+ # TZ: Etc/UTC
59+ # container:
60+ # image: ${{ matrix.os }}:${{ matrix.version }}
61+ # steps:
62+ # - name: Download Artifact
63+ # uses: actions/download-artifact@v3
64+ # with:
65+ # name: release.tar.gz
66+ # - name: Install git so we get the .github directory
67+ # run: |
68+ # apt-get update
69+ # apt-get install -y git
70+ #
71+ # - name: Setup image and run bats tests
72+ # run: .github/jobs/configure-checks/setup_configure_image.sh
0 commit comments