Skip to content

Commit

Permalink
fix: deactive goreleaser:
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Jun 21, 2024
1 parent 1a05802 commit a6f1bf7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,26 +46,26 @@ jobs:
with:
name: new_tag
path: new_tag.txt
release:
runs-on: ubuntu-latest
needs:
- tag
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: stable
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# release:
# runs-on: ubuntu-latest
# needs:
# - tag
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# token: ${{ secrets.GH_TOKEN }}
# - name: Set up Go
# uses: actions/setup-go@v4
# with:
# go-version: stable
# - name: Run GoReleaser
# uses: goreleaser/goreleaser-action@v5
# with:
# distribution: goreleaser
# version: latest
# args: release --clean
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

2 changes: 1 addition & 1 deletion plugin/preferences/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

var DefaultComputeEnginePreferences = []*golang.PreferenceItem{
{Service: "ComputeInstance", Key: "vCPU", IsNumber: true},
{Service: "ComputeInstance", Key: "Region", Pinned: true},
//{Service: "ComputeInstance", Key: "Region", Pinned: true},
{Service: "ComputeInstance", Key: "MachineFamily", Pinned: true},
{Service: "ComputeInstance", Key: "MemoryGB", Alias: "Memory", IsNumber: true, Unit: "GiB"},
{Service: "ComputeInstance", Key: "CPUBreathingRoom", IsNumber: true, Value: wrapperspb.String("10"), PreventPinning: true, Unit: "%"},
Expand Down

0 comments on commit a6f1bf7

Please sign in to comment.