Skip to content

[release-19.0] Upgrade the Golang version to go1.22.5 (#16322) #1

[release-19.0] Upgrade the Golang version to go1.22.5 (#16322)

[release-19.0] Upgrade the Golang version to go1.22.5 (#16322) #1

Workflow file for this run

# This creates a {tar.gz,deb,rpm} file and uploads it to a release.
# To trigger this, create a new release.. but make sure that you publish
# it immediately and do not save it as a DRAFT.
name: Release
on:
release:
types: [created]
permissions: read-all
jobs:
build:
name: Create Release
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
<<<<<<< HEAD

Check failure on line 23 in .github/workflows/create_release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/create_release.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
go-version: 1.22.5
=======
go-version: 1.22.5
>>>>>>> c60a5ea6b3 ([release-19.0] Upgrade the Golang version to `go1.22.5` (#16322))
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '18.16.0'
- name: Tune the OS
run: |
sudo sysctl -w net.ipv4.ip_local_port_range="22768 65535"
- name: Check out code
uses: actions/checkout@v4
- name: Get dependencies
run: |
sudo apt-get update
sudo apt-get install -y make ruby ruby-dev
go mod download
sudo gem install fpm
- name: Make Packages
run: |
./tools/make-release-packages.sh
- name: Upload Files
uses: csexton/release-asset-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pattern: "releases/*.{tar.gz,rpm,deb}"