@@ -2,6 +2,10 @@ name: Run Native Pipeline
22on :
33 workflow_dispatch :
44 inputs :
5+ run_name :
6+ description : " Provide a name for the run"
7+ required : false
8+ default : " "
59 mendix_version :
610 description : " Provide the SP version to be used (e.g., 10.14.0.43709) - has to be a released version (Default: latest from Mendix versions.json)"
711 required : false
5761 - toggle-buttons-native
5862 - video-player-native
5963 - web-view-native
60-
64+
6165 # Run at 0:00 UTC (2:00 AM CET time during summer, 1:00 AM during winter)
6266 schedule :
6367 - cron : ' 0 0 * * *'
6468 # Trigger on PR
6569 # pull_request:
70+ run-name : ${{ github.event.inputs.run_name || 'Run Native Pipeline' }}
6671permissions :
6772 packages : write
6873jobs :
@@ -644,11 +649,13 @@ jobs:
644649 # curl -L -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -o ios-app.zip "$artifacts_url"
645650 # unzip ios-app.zip -d ios-app
646651
647- - name : " Setup Python and dependencies"
648- run : |
649- sudo apt-get update
650- sudo apt-get install -y python3 python3-pip
651- pip3 install PyYAML httplib2
652+ - name : " Setup Python"
653+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
654+ with :
655+ python-version : ' 3.x'
656+ cache : ' pip'
657+ - name : " Install Python dependencies"
658+ run : pip install PyYAML httplib2
652659
653660 - name : " Cache Mendix runtime"
654661 uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
@@ -841,12 +848,13 @@ jobs:
841848 uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
842849 with :
843850 name : mda
844- - name : " Setup Python and dependencies"
845- run : |
846- sudo apt-get update
847- sudo apt-get install -y python3 python3-pip
848- pip3 install PyYAML httplib2
849-
851+ - name : " Setup Python"
852+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
853+ with :
854+ python-version : ' 3.x'
855+ cache : ' pip'
856+ - name : " Install Python dependencies"
857+ run : pip install PyYAML httplib2
850858 - name : " Cache Mendix runtime"
851859 uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
852860 with :
0 commit comments