serverless/.github/workflows/release-binary-installer.yml
dependabot[bot] e90a8a4a2d
chore(deps): bump actions/setup-go in the actions group (#13276)
Bumps the actions group with 1 update: [actions/setup-go](https://github.com/actions/setup-go).


Updates `actions/setup-go` from 6.1.0 to 6.2.0
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](4dc6199c7b...7a3fe6cf4c)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-19 20:10:57 +00:00

44 lines
1.4 KiB
YAML

name: 'Release: Binary Installer'
permissions:
id-token: write
contents: read
on:
workflow_dispatch:
defaults:
run:
working-directory: ./binary-installer
jobs:
release-installer-binary:
name: 'Release: Binary Installer'
runs-on: ubuntu-latest
steps:
- name: 'Checkout Code'
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: 'Setup: Go'
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: '>=1.25'
cache-dependency-path: binary-installer/go.sum
- name: 'Setup: AWS Credentials'
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
with:
role-to-assume: arn:aws:iam::802587217904:role/GithubActionsDeploymentRole
aws-region: us-east-1
- name: 'Test: Unit'
run: make test
- name: 'Build: Production'
run: make build-prod
- name: 'Release: Install Script'
run: |
aws s3 cp ./install.sh s3://install.serverless.com/install.sh
- name: 'Release: Binaries'
run: |
aws s3 cp --recursive ./dist/prod s3://install.serverless.com/installer-builds/
- name: 'Release: Invalidate Cache'
run: |
aws cloudfront create-invalidation --distribution-id E3OEL4OJF1G5FG --paths "/install.sh" "/installer-builds/*"