Files
setup-ossutil/.github/workflows/test.yml
Rimo 121c208740 Fix Windows build download link (#32)
* fix windows download

* update test.yml: add version matrix

* update dist
2022-09-29 03:01:00 +08:00

28 lines
725 B
YAML

name: "test"
on:
pull_request:
branches: [ "master" ]
push:
branches: [ "master" ]
schedule:
- cron: '0 0 * * *'
jobs:
test: # make sure the action works on a clean machine without building
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version: [1.7.0, 1.7.14, latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ./
with:
ossutil-version: ${{ matrix.version }}
endpoint: ${{ secrets.OSS_ENDPOINT }}
access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }}
access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
- run: ossutil -v
- run: ossutil ls > /dev/null
shell: bash