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

Fix import script github action #136

Merged
merged 10 commits into from
Aug 21, 2024
Merged

Conversation

ichung08
Copy link
Collaborator

@ichung08 ichung08 commented Aug 21, 2024

Description

Fix build and release import script github action

🎟 Issue(s)

🧪 Functional Testing

tested via dry run: https://github.com/astronomer/terraform-provider-astro/actions/runs/10495912863/job/29075446396?pr=136

📸 Screenshots

📋 Checklist

  • Added/updated applicable tests
  • Added/updated examples in the examples/ directory
  • Updated any related documentation

@ichung08 ichung08 self-assigned this Aug 21, 2024
Comment on lines +19 to +22
strategy:
matrix:
goos: [ linux, windows, darwin ]
goarch: [ amd64, arm64 ]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generate binary for each combination of os and arch

@ichung08 ichung08 marked this pull request as ready for review August 21, 2024 19:31
@ichung08 ichung08 requested review from vandyliu, sunkickr and a team as code owners August 21, 2024 19:31
run: |
output_name="terraform-provider-astro-import-script_${{ matrix.goos }}_${{ matrix.goarch }}"
if [ "${{ matrix.goos }}" = "windows" ]; then
output_name="${output_name}.exe"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also add the version to the binary names

@ichung08 ichung08 enabled auto-merge (squash) August 21, 2024 19:44
@ichung08 ichung08 merged commit bf6a998 into main Aug 21, 2024
9 checks passed
@ichung08 ichung08 deleted the 133-fix-import-script-gh-action branch August 21, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants