diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-01-03 14:12:00 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-01-03 14:17:11 -0600 |
| commit | 96a3dd4e0d223edbb0bd06005d1218f5e57404d5 (patch) | |
| tree | 44845f0a49b492c487269f85edaaafe347dca540 | |
| parent | 800f32cf4fd19a3ffee66cbf3d90f1a72ee1f351 (diff) | |
| download | slskd-96a3dd4e0d223edbb0bd06005d1218f5e57404d5.tar.gz | |
try matrix build
| -rw-r--r-- | .github/workflows/publish.yml | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6b5e0939..f32a408d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,23 +13,19 @@ on: # 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" - win-x64: - # The type of runner that the job will run on + publish: runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job + strategy: + matrix: + runtime: ["win-x64", "linux-x64"] steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - - # Runs a single command using the runners shell - - name: Publish win-x64 - run: bin/publish --runtime win-x64 + - name: Publish ${{ matrix.runtime }} + run: bin/publish --runtime ${{ matrix.runtime }} - name: Upload a Build Artifact uses: actions/upload-artifact@v2 with: - name: win-x64 - path: dist/win-x64 + name: ${{ matrix.runtime }} + path: dist/${{ matrix.runtime }} |
