Debian Codegraph @

.github/workflows/nightly.yaml

raw symbols SCIP
1 name: Nightly
2
3 on:
4 push:
5 branches:
6 - master
7
8 jobs:
9 build-windows:
10 uses: ./.github/workflows/workflow-build-windows.yaml
11 build-macos:
12 uses: ./.github/workflows/workflow-build-macos.yaml
13 build-ubuntu:
14 uses: ./.github/workflows/workflow-build-ubuntu.yaml
15 nightly:
16 name: Release packages automatically on push
17 runs-on: ubuntu-latest
18 needs: [build-windows, build-macos, build-ubuntu]
19 env:
20 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 steps:
22 - name: Download artifacts
23 uses: actions/download-artifact@v3
24 - name: Create info file
25 run: |
26 echo "ref: ${GITHUB_REF}" > info.txt
27 echo "commit: ${GITHUB_SHA}" >> info.txt
28 echo "build: $(date +"%Y-%m-%dT%H:%M:%SZ")" >> info.txt
29 - name: Publish nightly builds
30 uses: ncipollo/release-action@v1
31 with:
32 artifacts: info.txt, ubuntu/openmsx-debugger-ubuntu-gh.tbz, macos/openmsx-debugger-macos-gh.tbz, mingw32/openmsx-debugger-mingw32-gh.zip
33 body: "Build number ${{ github.run_number }}\n${{ github.event.head_commit.message }}\n\nTo run the Debugger on Mac OS or GNU/Linux, qt5 should be installed."
34 token: ${{ secrets.GITHUB_TOKEN }}
35 tag: nightly
36 allowUpdates: true