Skip to content

Commit

Permalink
fix uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
tchak committed Nov 7, 2023
1 parent 45c2720 commit c2471b9
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@ jobs:
steps:
- name: Download Linux build
uses: actions/download-artifact@v3
if: startsWith(github.ref, 'refs/tags/')
with:
name: linux.zip
name: ds-api-client-linux
- name: Download macOS build
uses: actions/download-artifact@v3
if: startsWith(github.ref, 'refs/tags/')
with:
name: macos.zip
name: ds-api-client-macos
- name: Release
uses: ncipollo/release-action@v1
if: startsWith(github.ref, 'refs/tags/')
with:
generateReleaseNotes: true
artifacts: linux.zip, macos.zip
artifacts: "ds-api-client-linux, ds-api-client-macos"
artifactErrorsFailBuild: true
build-linux:
runs-on: ubuntu-latest
Expand All @@ -31,20 +33,20 @@ jobs:
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run compile
- run: zip -r linux ds-api-client
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
path: linux.zip
name: ds-api-client-linux
path: ds-api-client
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run compile
- run: zip -r macos ds-api-client
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
path: macos.zip
name: ds-api-client-macos
path: ds-api-client

0 comments on commit c2471b9

Please sign in to comment.