Skip to content

[minor] crypto

[minor] crypto #126

Workflow file for this run

name: Build CLI Base
on:
push:
branches:
- '**'
tags-ignore:
- '**'
env:
CRYPTO_VERSION: 43.0.0
WHEELS_URL: https://na.artifactory.swg-devops.com/artifactory/wiotp-generic-local/dependencies/wheels
WHEELS: $GITHUB_WORKSPACE/build/install/
ARTIFACTORY_TOKEN: ${{ secrets.ARTIFACTORY_TOKEN }}
jobs:
build-cli-base-amd64:
runs-on: ubuntu-latest
steps:
# 1. Setup
# -------------------------------------------------------------------------------------------
- name: Checkout
uses: actions/checkout@v3
# Without this option, we don't get the tag information
with:
fetch-depth: 0
- name: Initialise the build system
run: |
chmod u+x $GITHUB_WORKSPACE/build/bin/*.sh
ls -lrt
$GITHUB_WORKSPACE/build/bin/initbuild.sh
source $GITHUB_WORKSPACE/build/bin/.functions.sh
- name: downloads
run: |
wget --header="Authorization:Bearer "${{ secrets.ARTIFACTORY_TOKEN }}"" "$WHEELS_URL/s390x/cryptography-43.0.0-cp37-abi3-linux_s390x.whl" -P ${{ github.workspace }}/image/install
ls -lrt ${{ github.workspace }}/image/install
- name: upload whl files
id: upload-whl
uses: actions/upload-artifact@v4
with:
name: cryptography-43.0.0-cp37-abi3-linux_s390x.whl
path: ${{ github.workspace }}/image/install/cryptography-43.0.0-cp37-abi3-linux_s390x.whl
github-token: ${{ secrets.GITHUB_TOKEN }}
run: |
ls -lrt ${{ github.workspace }}/image/install