mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
ci: remove unnecessary steps & cleanup (#118)
* refactor(ci): refactor GitHub Actions for better readablility * upd * remove ""
This commit is contained in:
parent
6fb6603cc1
commit
54cb141c5c
5 changed files with 63 additions and 56 deletions
10
.github/actions/compare-bun-version/action.yml
vendored
10
.github/actions/compare-bun-version/action.yml
vendored
|
@ -1,23 +1,23 @@
|
|||
name: Compare Bun Version
|
||||
name: ⚖️ Compare Bun Version
|
||||
description: Compare the version of Bun to a specified version
|
||||
|
||||
inputs:
|
||||
bun-version:
|
||||
description: "The version of Bun to compare against"
|
||||
description: The version of Bun to compare against
|
||||
required: true
|
||||
default: "1.1.0"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
using: composite
|
||||
steps:
|
||||
- name: Get installed Bun version
|
||||
- name: 🛠️ Get installed Bun version
|
||||
id: bun
|
||||
shell: bash
|
||||
run: |
|
||||
bun --version
|
||||
echo "version=$(bun --version)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Compare versions
|
||||
- name: ⚖️ Compare versions
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${{ steps.bun.outputs.version }}" == "${{ inputs.bun-version }}" ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue