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

Provide action for flutter-symbols #1202

Open
aebrahim opened this issue Feb 20, 2024 · 0 comments
Open

Provide action for flutter-symbols #1202

aebrahim opened this issue Feb 20, 2024 · 0 comments
Labels
enhancement New feature or request rum Related to [dsyms, flutter-symbols, unity-symbols, react-native, sourcemaps]

Comments

@aebrahim
Copy link

Feature request description

It is not clear what the best mechanism is to execute flutter-symbols in GitHub actions. I am currently doing this

      - id: upload-symbols
        env:
          DATADOG_SITE: <mysite>.datadoghq.com
          DATADOG_API_KEY: <mykey>
        run: >-
          npx @datadog/datadog-ci flutter-symbols upload
          --dart-symbols-location=mySymbolsLocation
          --flavor=myFlavor
          --service-name=com.myCompany.myService
          --version=myVersion
          --android-mapping-location=myLocationmapping.txt

This isn't ideal though; for one, build dependencies won't be efficiently cached, and I can't easily pin a version in a way that dependabot will keep up to date for me.

Solution

It would be great if there was a GitHub action that could do this in a more native way, just like in DataDog/upload-dsyms-github-action

For example:

      - id: upload-symbols
        uses: DataDog/upload-flutter-github-action@v2
        with:
          api_key: <mykey>
          site: us3
          dart-symbols: mySymbolsLocation
          flavor: myFlavor
          serviceName: com.myCompany.myService
          version: myVersion
          android-mapping-location: myLocationMapping.txt

Additional context

No response

Command

flutter-symbols

@aebrahim aebrahim added the enhancement New feature or request label Feb 20, 2024
@github-actions github-actions bot added the rum Related to [dsyms, flutter-symbols, unity-symbols, react-native, sourcemaps] label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rum Related to [dsyms, flutter-symbols, unity-symbols, react-native, sourcemaps]
Projects
None yet
Development

No branches or pull requests

1 participant