Skip to content

Commit

Permalink
Fix release environement setup (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovmr authored Sep 17, 2024
1 parent 1b2b7de commit 86401d0
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,20 @@ on:
tags:
- v*
workflow_dispatch:

env:
FORCE_COLOR: true
NODE_VERSION: 20.11.0
YARN_VERSION: 3.5.0
PYTHON_VERSION: 3.11

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
env:
FORCE_COLOR: "1"
steps:
- name: Check out the repository
uses: actions/checkout@v4
Expand All @@ -36,7 +41,16 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up NodeJS
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install Yarn ${{ env.YARN_VERSION }}
run: |
corepack prepare yarn@${{ env.YARN_VERSION }} --activate
yarn set version ${{ env.YARN_VERSION }}
yarn --version
- name: Check version
run: |
set -o pipefail
Expand Down

0 comments on commit 86401d0

Please sign in to comment.