From adc5d32cb6a2afa5d80356102d9e1f17e39ed995 Mon Sep 17 00:00:00 2001 From: erling Date: Fri, 21 Feb 2025 10:37:58 +0100 Subject: [PATCH 1/3] Update README.md --- README.md | 4 ++-- action.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 25040c1..d9ab1a0 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: lf-lang/action-setup-lf@v0.1 + - uses: lf-lang/action-setup-lf@v0.2 with: lfc-version: stable lingo-version: stable @@ -25,7 +25,7 @@ jobs: For latest nightly release of lfc and v0.2.0 of lingo: ```yaml - - uses: lf-lang/action-setup-lf@v0.1 + - uses: lf-lang/action-setup-lf@v0.2 with: lfc-version: nightly lingo-version: 0.2.0 diff --git a/action.yml b/action.yml index 3c5d880..e8a41d6 100644 --- a/action.yml +++ b/action.yml @@ -38,7 +38,7 @@ runs: - name: Install LFC (macOS) if: runner.os == 'macOS' run: | - bash ./tmp/installation/install.sh cli ${{ inputs.lfc-version }} --prefix=$HOME/.local && break + bash ./tmp/installation/install.sh cli ${{ inputs.lfc-version }} --prefix=$HOME/.local echo "$HOME/.local/bin" >> "$GITHUB_PATH" shell: bash - name: Install lingo From fc6c15172cdd0ec7e68115bc2c1e018e6d1efba6 Mon Sep 17 00:00:00 2001 From: erlingrj Date: Fri, 21 Feb 2025 12:42:24 +0100 Subject: [PATCH 2/3] Actually test that lingo and lfc are installed and available --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3a7232..ba9b1cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,4 +24,12 @@ jobs: name: Run lf-lang/action-setup-lf with: lfc-version: ${{matrix.lfc}} - lingo-version: ${{matrix.lingo}} \ No newline at end of file + lingo-version: ${{matrix.lingo}} + + - name: Smoke test LFC + run: lfc --version + shell: bash + + - name: Smoke test lingo + run: lingo --version + shell: bash \ No newline at end of file From 5ad65d6e0c4337d7abcda3a966df8455695069d2 Mon Sep 17 00:00:00 2001 From: erlingrj Date: Fri, 21 Feb 2025 12:42:30 +0100 Subject: [PATCH 3/3] Add break statement back --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e8a41d6..3c5d880 100644 --- a/action.yml +++ b/action.yml @@ -38,7 +38,7 @@ runs: - name: Install LFC (macOS) if: runner.os == 'macOS' run: | - bash ./tmp/installation/install.sh cli ${{ inputs.lfc-version }} --prefix=$HOME/.local + bash ./tmp/installation/install.sh cli ${{ inputs.lfc-version }} --prefix=$HOME/.local && break echo "$HOME/.local/bin" >> "$GITHUB_PATH" shell: bash - name: Install lingo