Skip to content

Commit

Permalink
updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Gjerde committed Sep 11, 2024
1 parent 838ea75 commit a720e7f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/workflow_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,23 @@ jobs:
id: install_path_id_ubuntu
run: echo "install_path_ubuntu=multisense_${{ env.MAJOR }}.${{ env.MINOR }}-${{ env.PATCH }}_amd64/opt/multisense" >> $GITHUB_OUTPUT

- name: Fetch all tags
run: git fetch --tags

- name: Get the latest tag
id: get_tag
run: echo "::set-output name=TAG::$(git describe --tags --abbrev=0)"

- name: Print version
run: echo "The version is ${{ steps.get_tag.outputs.TAG }}"

- name: Set Output
id: install_path_id
run: echo "install_path=multisense_${{ steps.get_tag.outputs.TAG }}_amd64" >> $GITHUB_OUTPUT

- name: Set Output Ubuntu
id: install_path_id_ubuntu
run: echo "install_path_ubuntu=multisense_${{ steps.get_tag.outputs.TAG }}_amd64/opt/multisense" >> $GITHUB_OUTPUT

BuildWindows:
name: Build For Windows
Expand Down

0 comments on commit a720e7f

Please sign in to comment.