|
1 | 1 | name: nightly-linux64
|
2 | 2 |
|
| 3 | + |
3 | 4 | on:
|
4 |
| - schedule: |
5 |
| - - cron: "0 6 * * *" |
| 5 | + push: |
| 6 | + paths-ignore: |
| 7 | + - '**/README.md' |
| 8 | + pull_request: |
| 9 | + paths-ignore: |
| 10 | + - '**/README.md' |
| 11 | +# on: |
| 12 | +# workflow_dispatch: |
| 13 | +# inputs: |
| 14 | +# release: |
| 15 | +# description: 'release' |
| 16 | +# required: true |
| 17 | +# default: 'nightly' |
| 18 | +concurrency: |
| 19 | + group: ${{ github.workflow }}-${{ github.ref }} |
| 20 | + cancel-in-progress: true |
| 21 | + |
| 22 | +# on: |
| 23 | +# schedule: |
| 24 | +# - cron: "0 6 * * *" |
6 | 25 |
|
7 | 26 | env:
|
8 | 27 | ccache: ccache
|
@@ -34,17 +53,30 @@ jobs:
|
34 | 53 | key: ${{ matrix.cfg.target }}
|
35 | 54 | - name: Install dependencies
|
36 | 55 | run: ./scripts/ci/$TARGET/install.sh;
|
| 56 | + - name: update submodules |
| 57 | + run: ./scripts/dev/init_submodules.sh |
37 | 58 | - name: Download libs
|
38 | 59 | run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}};
|
39 | 60 | - name: Create Package
|
40 |
| - run: scripts/ci/package_builds.sh; |
| 61 | + run: scripts/ci/package_builds.sh ${{ github.event.inputs.release }}; |
41 | 62 | id: createpackage
|
42 |
| - - name: Update Release |
43 |
| - uses: IsaacShelton/update-existing-release@v1.3.4 |
| 63 | + - name: List output directory |
| 64 | + run: ls -lah out/ |
| 65 | + - name: Test Artefact zip |
| 66 | + run: | |
| 67 | + tar -cjf out/mega_artefact.tar.bz2 -C out $(echo ${{ steps.createpackage.outputs.FILES_OUT }} | tr ' ' '\n' | sed 's|^out/||') |
| 68 | + - name: Upload binaries as Artefact |
| 69 | + uses: actions/upload-artifact@v4 |
44 | 70 | with:
|
45 |
| - token: ${{ secrets.GITHUB_TOKEN }} |
46 |
| - tag: nightly |
47 |
| - release: nightly |
48 |
| - prerelease: false |
49 |
| - replace: true |
50 |
| - files: ${{ steps.createpackage.outputs.FILES_OUT }} |
| 71 | + name: openFrameworks-all-artefact-${{ env.TARGET }}-${{ matrix.bundle }} |
| 72 | + path: out/mega_artefact.tar.bz2 |
| 73 | + retention-days: 1 |
| 74 | + # - name: Update Release |
| 75 | + # uses: IsaacShelton/update-existing-release@v1.3.4 |
| 76 | + # with: |
| 77 | + # token: ${{ secrets.GITHUB_TOKEN }} |
| 78 | + # tag: nightly |
| 79 | + # release: nightly |
| 80 | + # prerelease: false |
| 81 | + # replace: true |
| 82 | + # files: ${{ steps.createpackage.outputs.FILES_OUT }} |
0 commit comments