Skip to content

Commit

Permalink
optimize the go releaser to only the required os
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhambjadhavar committed Mar 25, 2024
1 parent f6a4422 commit cccd277
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,11 @@ on:
- 'v*'
jobs:
goreleaser:
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@v2
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ website/node_modules

website/vendor

scripts/actions-runner

.vscode/

# mkdocs output
Expand Down
5 changes: 5 additions & 0 deletions scripts/setup-runner-on-local-machine.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mkdir actions-runner && cd actions-runner
curl -o actions-runner-osx-x64-2.314.1.tar.gz -L https://github.com/actions/runner/releases/download/v2.314.1/actions-runner-osx-x64-2.314.1.tar.gz
echo "3faff4667d6d12c41da962580168415d628e3ffba9924b9ac995752087efc921 actions-runner-osx-x64-2.314.1.tar.gz" | shasum -a 256 -c
tar xzf ./actions-runner-osx-x64-2.314.1.tar.gz
./config.sh --url https://github.com/shubhambjadhavar/terraform-provider-azurerm --token

0 comments on commit cccd277

Please sign in to comment.