Skip to content

SAP Software Download #65

SAP Software Download

SAP Software Download #65

#Runs bi-weekly
name: SAP Software Download
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
# push:
# branches: [ "main" ]
# paths:
# - 'software_download/lw_software_download*'
# pull_request:
# branches: [ "main" ]
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 7 1,15 * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
role-session-name: GithubActions
# Runs a set of commands using the runners shell
- name: test
run: |
aws --version
chmod +x utils/colors.sh
chmod +x utils/lw_bootstrap.sh
chmod +x software_download/lw_software_download.sh
./software_download/lw_software_download.sh validate sapNetweaver-750
./software_download/lw_software_download.sh validate sapNetweaverJavaOnly-750
./software_download/lw_software_download.sh validate sapNetweaver-752
./software_download/lw_software_download.sh validate sapbw4hana-2021
./software_download/lw_software_download.sh validate sapbw4hana-2.0
./software_download/lw_software_download.sh validate saps4hana-1909
./software_download/lw_software_download.sh validate saps4hana-2020
./software_download/lw_software_download.sh validate saps4hana-2021
./software_download/lw_software_download.sh validate saps4hana-2022
./software_download/lw_software_download.sh validate saps4hana-2023
./software_download/lw_software_download.sh validate saps4hanafoundations-2021
./software_download/lw_software_download.sh validate saps4hanafoundations-2022
./software_download/lw_software_download.sh validate saps4hanafoundations-2023
./software_download/lw_software_download.sh validate sapsolman-7.2
# Runs a set of commands using the runners shell
#- name: deploy
# run: |
# aws --version
# aws s3 cp . s3://aws-sap-automation/ --recursive --exclude ".*"