Skip to content

Commit

Permalink
fix: Fixes release
Browse files Browse the repository at this point in the history
  • Loading branch information
salehkhazaei committed Apr 25, 2024
1 parent a1117a2 commit e049920
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,16 @@ jobs:
# curl --request DELETE \
# --url https://api.github.com/repos/kaytu-io/kaytu/releases/assets/$darwinamd64 \
# --header 'authorization: Bearer ${{ secrets.GH_TOKEN }}'
- name: Upload Release Asset amd64 zip
id: upload-release-asset-amd64-zip
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
upload_url: ${{ steps.sign_executable.outputs.upload_url }}
# - name: Upload Release Asset amd64 zip
# id: upload-release-asset-amd64-zip
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# with:
# upload_url: ${{ steps.sign_executable.outputs.upload_url }}
# asset_path: ./kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64_signed.zip
asset_path: ./kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64.zip
asset_name: kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64.zip
asset_content_type: application/zip
# asset_name: kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64.zip
# asset_content_type: application/zip

- name: update cli version in homebrew
run: |
Expand Down
2 changes: 1 addition & 1 deletion cmd/optimize/preferences/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type PreferenceItem struct {

func DefaultPreferences() []PreferenceItem {
return []PreferenceItem{
{Service: "EC2Instance", Key: "Tenancy", PossibleValues: []string{"", "Host", "Shared", "Dedicated"}},
{Service: "EC2Instance", Key: "Tenancy", Pinned: true, PossibleValues: []string{"", "Host", "Shared", "Dedicated"}},
{Service: "EC2Instance", Key: "EBSOptimized", PossibleValues: []string{"", "Yes", "No"}},
{Service: "EC2Instance", Key: "LicenseModel", PossibleValues: []string{"", "Bring your own license", "No License required"}},
{Service: "EC2Instance", Key: "Region", Pinned: true},
Expand Down

0 comments on commit e049920

Please sign in to comment.