Skip to content

Commit

Permalink
WIP - Temporary fix to build and push v21.0.0-rc1 artefacts from this PR
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>

WIP - Move setup node to the beginning of the workflow

Signed-off-by: Florent Poinsard <[email protected]>

WIP - test workflow

Signed-off-by: Florent Poinsard <[email protected]>

WIP - test workflow

Signed-off-by: Florent Poinsard <[email protected]>

WIP - remove test workflow and remove node setup from release workflow

Signed-off-by: Florent Poinsard <[email protected]>

WIP - Correct upload URL

Signed-off-by: Florent Poinsard <[email protected]>

WIP - Correct upload URL

Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Oct 15, 2024
1 parent a000891 commit cc0780c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: Release
on:
release:
types: [created]
pull_request: # So it can run on this PR

permissions: read-all

Expand All @@ -18,17 +19,14 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: v21.0.0-rc1 # Explicit checkout to v21.0.0-rc1

- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.mod

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20.12.2'

- name: Tune the OS
run: |
sudo sysctl -w net.ipv4.ip_local_port_range="22768 65535"
Expand All @@ -49,3 +47,4 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pattern: "releases/*.{tar.gz,rpm,deb}"
release-url: https://uploads.github.com/repos/vitessio/vitess/releases/179932186/assets{?name,label} # Adding this line will update this release directly and not depend on the workflow to ran from a 'release' event

0 comments on commit cc0780c

Please sign in to comment.