diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68fde47..cbe8dac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,23 @@ name: "Build and Test" on: + # Trigger manually + workflow_dispatch: pull_request: push: + tags: + - "*" branches: - main - - 'releases/*' jobs: - build: # make sure build/ci work properly - runs-on: ubuntu-latest + build: + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + runs-on: ${{ matrix.os }} steps: @@ -29,13 +38,16 @@ jobs: - name: Run action uses: ./ with: - repository: "eloots/course-management-tools" - tag: "1.0.0" - fileName: "course-management-tools.zip" - out-file-path: "./cmt" + repository: "robinraju/probable-potato" + tag: "1.0.1" + fileName: "potato.jpeg" + tarBall: true + zipBall: true + out-file-path: "./test-downloads" - name: List downloaded files - run: ls -lrth cmt + shell: bash + run: ls -lrth test-downloads - name: Test download from a private repo uses: ./ @@ -49,4 +61,5 @@ jobs: out-file-path: "./downloader-test" - name: List downloaded files from private repo + shell: bash run: ls -lrth downloader-test