Skip to content

Commit

Permalink
Merge branch 'main' into dial-opts
Browse files Browse the repository at this point in the history
  • Loading branch information
lia-viam authored Sep 23, 2024
2 parents 2f1d724 + f4259e1 commit 5ad878c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ jobs:
tar -czvf builds/viam-cpp-sdk-${{ matrix.platform }}.tar.gz builds/viam-cpp-sdk-${{ matrix.platform }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: builds
path: builds
name: viam-cpp-sdk-${{ matrix.platform }}.tar.gz
path: builds/viam-cpp-sdk-${{ matrix.platform }}.tar.gz

build_linux_ubuntu_jammy:
if: github.repository_owner == 'viamrobotics'
Expand Down Expand Up @@ -166,10 +166,10 @@ jobs:
tar -czvf builds/viam-cpp-sdk-${{ matrix.platform }}.tar.gz builds/viam-cpp-sdk-${{ matrix.platform }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: builds
path: builds
name: viam-cpp-sdk-${{ matrix.platform }}.tar.gz
path: builds/viam-cpp-sdk-${{ matrix.platform }}.tar.gz


build_linux_debian:
Expand Down Expand Up @@ -265,24 +265,24 @@ jobs:
tar -czvf builds/viam-cpp-sdk-${{ matrix.platform }}.tar.gz builds/viam-cpp-sdk-${{ matrix.platform }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: builds
path: builds
name: viam-cpp-sdk-${{ matrix.platform }}.tar.gz
path: builds/viam-cpp-sdk-${{ matrix.platform }}.tar.gz

release:
needs: [prepare, build_macos, build_linux_debian, build_linux_ubuntu_jammy]
if: github.repository_owner == 'viamrobotics'
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4

- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: releases/v${{ needs.prepare.outputs.version }}
files: builds/*.tar.gz
files: "**/viam-cpp-sdk-*.tar.gz"
draft: true
prerelease: false
fail_on_unmatched_files: true
Expand Down

0 comments on commit 5ad878c

Please sign in to comment.