Skip to content

Commit

Permalink
[SYSE-358 release-4-lts] April template application (#6246)
Browse files Browse the repository at this point in the history
Skip signing when building a snapshot to allow dependabot PRs to build.
Use larger runners for build and test.

Co-authored-by: Gromit <policy@gromit>
  • Loading branch information
ermirizio and Gromit authored Apr 24, 2024
1 parent ce3c5ee commit ecad60a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
jobs:
goreleaser:
name: '${{ matrix.golang_cross }}'
runs-on: ubuntu-latest
runs-on: ubuntu-latest-m
permissions:
id-token: write # AWS OIDC JWT
contents: read # actions/checkout
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
rm -rf vendor
git config --global url."https://${{ secrets.ORG_GH_TOKEN }}@github.com".insteadOf "https://github.com"
git config --global --add safe.directory /go/src/github.com/TykTechnologies/tyk
goreleaser release --clean -f ${{ matrix.goreleaser }} ${{ !startsWith(github.ref, 'refs/tags/') && ' --snapshot' || '' }}' | tee /tmp/build.sh
goreleaser release --clean -f ${{ matrix.goreleaser }} ${{ !startsWith(github.ref, 'refs/tags/') && ' --snapshot --skip-sign' || '' }}' | tee /tmp/build.sh
chmod +x /tmp/build.sh
docker run --rm --privileged -e GITHUB_TOKEN=${{ github.token }} \
-e GOPRIVATE=github.com/TykTechnologies \
Expand Down

0 comments on commit ecad60a

Please sign in to comment.