mirror of
https://github.com/earthly/actions-setup.git
synced 2025-01-15 03:58:00 +08:00
24 lines
635 B
YAML
24 lines
635 B
YAML
name: Update Major Version Branch
|
|
|
|
on:
|
|
release:
|
|
types: [released]
|
|
|
|
jobs:
|
|
update-major-version-branch:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
FORCE_COLOR: 1
|
|
EARTHLY_CONVERSION_PARALLELISM: "5"
|
|
EARTHLY_TOKEN: "${{ secrets.EARTHLY_TOKEN }}"
|
|
EARTHLY_INSTALL_ID: "earthly-actions-setup-githubactions"
|
|
steps:
|
|
- uses: earthly/actions/setup-earthly@v1
|
|
with:
|
|
version: v0.8.6
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.ref }}
|
|
- name: Update Branch
|
|
run: earthly --ci -P --push +merge-release-to-major-branch --RELEASE_TAG=${{ github.ref }}
|