name: upload package for armv7l on: workflow_dispatch: schedule: # scheduled workflow run on the latest commit on the default or base # branch. - cron: '00 01 * * 0-5' env: ART_REPO: https://art.sec.samsung.net/artifactory/aip_generic/NPU_SystemService ART_ID: ${{ secrets.ARTIFACTORY_ID }} ART_PW: ${{ secrets.ARTIFACTORY_PW }} jobs: build-and-upload-armv7l: runs-on: [ code-large ] container: image: art.sec.samsung.net/aip_docker/n2s2_docker/bionic:latest # for chroot-based build system options: --privileged timeout-minutes: 60 steps: - name: Get current date id: date run: echo "::set-output name=date::$(date +'%Y%m%d')" - name: Clone your repository uses: CODE-Actions/checkout@v2 - name: Build packages uses: ./.github/actions/build-tizen with: arch: armv7l output_path: /tmp/rpms - name: Upload artifacts uses: CODE-Actions/upload-artifact@v2 with: name: built-package-${{ steps.date.outputs.date }} path: /tmp/rpms - name: Upload to artifactory uses: ./.github/actions/upload-artifacts with: input_path: /tmp/rpms input_type: rpm art_repo: $ART_REPO/${{ steps.date.outputs.date }}/armv7l art_id: $ART_ID art_pw: $ART_PW - name: Make latest uses: ./.github/actions/upload-artifacts with: input_path: /tmp/rpms input_type: rpm art_repo: $ART_REPO/latest/armv7l art_id: $ART_ID art_pw: $ART_PW