diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1b4212814561..aabe5567f4f7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 diff --git a/.gitignore b/.gitignore index d66003bb9a31..6c25504b7d2f 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,8 @@ website/node_modules website/vendor +scripts/actions-runner + .vscode/ # mkdocs output diff --git a/scripts/setup-runner-on-local-machine.sh b/scripts/setup-runner-on-local-machine.sh new file mode 100644 index 000000000000..eadbe1884f26 --- /dev/null +++ b/scripts/setup-runner-on-local-machine.sh @@ -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