Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for runs-on: macos-latest GitHub Actions runner #12

Closed
SergeyVolynkin opened this issue Aug 4, 2024 · 2 comments · Fixed by #14
Closed

Add support for runs-on: macos-latest GitHub Actions runner #12

SergeyVolynkin opened this issue Aug 4, 2024 · 2 comments · Fixed by #14
Assignees

Comments

@SergeyVolynkin
Copy link

Environment details (Operating System, Cloud provider, etc):
GitHub action with runs-on: macos-latest

Describe what happened:
The datadog/[email protected] errors out with

/Users/runner/work/_temp/76c…8f7.sh: line 31: sha256sum: command not found
/Users/runner/work/_temp/76c…8f7.sh: line 32: return: can only `return' from a function or sourced script
Error: Process completed with exit code 1.

Describe what you expected:
Works same as runs-on: ubuntu-latest

Steps to reproduce the issue:
Run GitHub Action with runs-on: macos-latest

      - name: DataDog Configure Test Visibility
        uses: datadog/[email protected]
        with:
          languages: js
          service: test
          api_key: ${{ secrets.DD_API_KEY }}
          site: datadoghq.com
@SergeyVolynkin
Copy link
Author

Adding

      - name: Install coreutils for macOS # for `datadog/test-visibility-github-action`
        run: brew install coreutils

Resolves the issue

@nikita-tkachenko-datadog
Copy link
Collaborator

Hi @SergeyVolynkin, thank you for reporting this! The issue is fixed in the latest release v1.0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants