Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace with a simpler composite action #134

Merged
merged 1 commit into from Apr 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 0 additions & 13 deletions .github/workflows/test.yml
Expand Up @@ -13,8 +13,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Install Nix
uses: ./
with:
Expand All @@ -24,16 +22,13 @@ jobs:
# cachix should be available and be able to configure a cache
- run: cachix use cachix
- run: nix-build test.nix

custom-nix-path:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Install Nix
uses: ./
with:
Expand All @@ -48,8 +43,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Install Nix
uses: ./
with:
Expand All @@ -66,8 +59,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Install Nix
uses: ./
with:
Expand All @@ -84,8 +75,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Install Nix
uses: ./
with:
Expand All @@ -101,8 +90,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Install Nix
uses: ./
with:
Expand Down
11 changes: 9 additions & 2 deletions action.yml
Expand Up @@ -14,5 +14,12 @@ branding:
color: 'blue'
icon: 'sun'
runs:
using: 'node12'
main: 'lib/main.js'
using: 'composite'
steps:
- run : ${{ github.action_path }}/install-nix.sh
shell: bash
env:
INPUT_INSTALL_URL: ${{ inputs.install_url }}
INPUT_INSTALL_OPTIONS: ${{ inputs.install_options }}
INPUT_NIX_PATH: ${{ inputs.nix_path }}
INPUT_EXTRA_NIX_CONFIG: ${{ inputs.extra_nix_config }}
File renamed without changes.
5 changes: 0 additions & 5 deletions lib/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions lib/main.js

This file was deleted.

36 changes: 0 additions & 36 deletions package.json

This file was deleted.

8 changes: 0 additions & 8 deletions shell.nix

This file was deleted.

3 changes: 0 additions & 3 deletions src/main.ts

This file was deleted.

63 changes: 0 additions & 63 deletions tsconfig.json

This file was deleted.