1# Copyright (c) 2020 Intel Corp. 2# SPDX-License-Identifier: Apache-2.0 3 4name: Publish commit for daily testing 5 6on: 7 schedule: 8 - cron: '50 22 * * *' 9 push: 10 branches: 11 - refs/tags/* 12 13jobs: 14 get_version: 15 runs-on: ubuntu-22.04 16 if: github.repository == 'zephyrproject-rtos/zephyr' 17 18 steps: 19 - name: Configure AWS Credentials 20 uses: aws-actions/configure-aws-credentials@v2 21 with: 22 aws-access-key-id: ${{ vars.AWS_TESTING_ACCESS_KEY_ID }} 23 aws-secret-access-key: ${{ secrets.AWS_TESTING_SECRET_ACCESS_KEY }} 24 aws-region: us-east-1 25 26 - name: install-pip 27 run: | 28 pip3 install gitpython 29 30 - name: checkout 31 uses: actions/checkout@v3 32 with: 33 fetch-depth: 0 34 35 - name: Upload to AWS S3 36 run: | 37 python3 scripts/ci/version_mgr.py --update . 38 aws s3 cp versions.json s3://testing.zephyrproject.org/daily_tests/versions.json 39