Skip to content

Commit

Permalink
Update release.yaml (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkubi authored May 11, 2024
1 parent b32f896 commit 1e4fadd
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ on:
jobs:
release:
name: Release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: write

steps:
- name: Code checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: "yarn"

- name: Install dependencies
Expand All @@ -30,8 +33,8 @@ jobs:
REF: ${{ github.ref }}
run: |
BRANCH=release/${REF:10}
git config --local user.email "[email protected]"
git config --local user.name "Pelican CI"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git checkout -b $BRANCH
git push -u origin $BRANCH
sed -i "s/ 'version' => 'canary',/ 'version' => '${REF:11}',/" config/app.php
Expand Down

0 comments on commit 1e4fadd

Please sign in to comment.