Skip to content

Commit 4f6a1ae

Browse files
authored
[actions] - Nightly to generate latest, corrections on runners parameters (#8209)
1 parent 2acbcab commit 4f6a1ae

File tree

3 files changed

+23
-22
lines changed

3 files changed

+23
-22
lines changed

.github/workflows/nightly-ok.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,25 @@ name: nightly-linux64
22

33
on:
44
schedule:
5-
- cron: "0 6 * * *"
5+
- cron: "0 6 * * *"
66
workflow_dispatch:
77
inputs:
8-
release:
9-
description: 'release'
10-
required: true
11-
default: 'latest'
8+
release:
9+
description: 'release'
10+
required: true
11+
default: 'latest'
1212
env:
1313
ccache: ccache
14+
RELEASE: latest
1415

1516
jobs:
1617
build-nightly-ok:
1718
runs-on: ubuntu-24.04
1819
if: github.repository == 'openframeworks/openFrameworks' && github.ref == 'refs/heads/master'
1920
strategy:
20-
matrix:
21-
cfg:
22-
- {target: linux64, libs: 64gcc6}
21+
matrix:
22+
cfg:
23+
- {target: linux64, libs: 64gcc6}
2324
env:
2425
TARGET: ${{matrix.cfg.target}}
2526
steps:
@@ -44,16 +45,16 @@ jobs:
4445
- name: Download libs
4546
run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}};
4647
- name: Create Package
47-
run: scripts/ci/package_builds.sh ${{ github.event.inputs.release }};
48+
run: ./scripts/ci/package_builds.sh ${{ github.event.inputs.release }};
4849
id: createpackage
4950
- name: List output directory
5051
run: ls -lah out/
5152
- name: Update Release
5253
uses: IsaacShelton/update-existing-release@v1.3.4
5354
with:
54-
token: ${{ secrets.GITHUB_TOKEN }}
55-
tag: nightly
56-
release: nightly
57-
prerelease: false
58-
replace: true
59-
files: ${{ steps.createpackage.outputs.FILES_OUT }}
55+
token: ${{ secrets.GITHUB_TOKEN }}
56+
tag: nightly
57+
release: nightly
58+
prerelease: false
59+
replace: true
60+
files: ${{ steps.createpackage.outputs.FILES_OUT }}

.github/workflows/of.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
# echo "RELEASE=latest" >> $GITHUB_ENV
4848
# fi
4949
- name: Download libs
50-
run: ./scripts/$TARGET/download_libs.sh
50+
run: ./scripts/$TARGET/download_libs.sh -t $RELEASE
5151
- name: Install dependencies
5252
run: ./scripts/ci/$TARGET/install.sh
5353
- name: Build
@@ -199,7 +199,7 @@ jobs:
199199
# echo "RELEASE=latest" >> $GITHUB_ENV
200200
# fi
201201
- name: Download libs
202-
run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}} -t $RELEASE;
202+
run: ./scripts/linux/download_libs.sh -t $RELEASE -a ${{matrix.cfg.libs}}
203203
- name: Install dependencies
204204
run: ./scripts/ci/linuxrpi/install.sh;
205205
- name: LS
@@ -290,7 +290,7 @@ jobs:
290290
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.libs }}
291291

292292
- name: Download libs
293-
run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}} -t $RELEASE;
293+
run: ./scripts/linux/download_libs.sh -t $RELEASE -a ${{matrix.cfg.libs}}
294294
- name: Install dependencies
295295
run: ./scripts/ci/$TARGET/install.sh;
296296
- name: Build
@@ -330,7 +330,7 @@ jobs:
330330
# key: ${{ matrix.cfg.target }}-${{ matrix.cfg.libs }}
331331

332332
# - name: Download libs
333-
# run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}};
333+
# run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}}
334334
# - name: Install dependencies
335335
# run: ./scripts/ci/$TARGET/install.sh;
336336
# - name: Build

scripts/ci/package_builds.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ mkdir -p $OUTPUT_FOLDER
3434
RELEASE="${RELEASE:-latest}"
3535

3636
lastversion=$(date +%Y%m%d)
37-
if [ -n "$1" ] && [ "$1" != "nightly" ]; then
38-
lastversion=$1
39-
fi
37+
# if [ -n "$1" ] && [ "$1" != "nightly" ]; then
38+
# lastversion=$1
39+
# fi
4040
echo "##[endgroup]"
4141

4242
echo "##[group]submodule update and pull"

0 commit comments

Comments
 (0)