Skip to content

install-azcopy-ci

install-azcopy-ci #571

name: install-azcopy-ci
on:
push:
branches:
- main
paths-ignore:
- '**/README.md'
- '**/LICENSE'
- 'visuals/**'
pull_request:
paths-ignore:
- '**/README.md'
- '**/LICENSE'
- 'visuals/**'
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
env:
ACTIONS_STEP_DEBUG: ${{ vars.ACTIONS_STEP_DEBUG }}
jobs:
install_azcopy:
defaults:
run:
working-directory: scripts
name: Install AzCopy
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: install_azcopy.ps1
run: |
if ($env:ACTIONS_STEP_DEBUG -ieq "true") {
Get-ChildItem -Path Env: -Recurse -Include ACTIONS_*,AZCOPY_*,AZURE_*,FILES_SYNC_*,GH_*,GITHUB_*,*TEMP*,*TMP* | Sort-Object -Property Name
$InformationPreference = "Continue"
$VerbosePreference = "Continue"
$DebugPreference = "Continue"
Set-PSDebug -Trace 1
}
./install_azcopy.ps1
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: pwsh