Skip to content

Commit

Permalink
add reusable strings
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSiebert1 committed Oct 28, 2024
1 parent 5dc22e7 commit 006dc34
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set reusable strings
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Build ADOL-C
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
Expand Down

0 comments on commit 006dc34

Please sign in to comment.