Skip to content

Commit

Permalink
chore(release): v0.0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
Alw3ys authored Jan 25, 2024
1 parent c7253a5 commit d6d8f04
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
name: 'test ${{ matrix.os }}'
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup dctl CLI
uses: ./

- name: Test dctl
run: dctl --version
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:
uses: actions/checkout@v3

- name: Setup dctl CLI
uses: doseiai/setup-dctl@v0.0.18
uses: doseiai/setup-dctl@v0.0.19
with:
token: ${{ secrets.DOSEI_TOKEN }}
```
14 changes: 13 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,20 @@ inputs:
runs:
using: "composite"
steps:
- run: curl -fsSL https://dosei.ai/install.sh | sh
- run: |
curl -fsSL https://dosei.ai/install.sh | sh
if [ "$RUNNER_OS" == "Linux" ]; then
echo "/home/runner/.dosei/bin" >> $GITHUB_PATH
elif [ "$RUNNER_OS" == "macOS" ]; then
echo "/Users/runner/.dosei/bin" >> $GITHUB_PATH
fi
shell: bash
if: runner.os != 'Windows'
- run: |
irm https://dosei.ai/install.ps1 | iex
Add-Content $env:GITHUB_PATH "$env:USERPROFILE\.dosei\bin"
shell: pwsh
if: runner.os == 'Windows'
- run: echo "DOSEI_TOKEN=${{ inputs.token }}" >> $GITHUB_ENV
if: ${{ inputs.token }}
shell: bash

0 comments on commit d6d8f04

Please sign in to comment.