Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: DeterminateSystems/nix-installer-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3
Choose a base ref
...
head repository: DeterminateSystems/nix-installer-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4
Choose a head ref
  • 5 commits
  • 2 files changed
  • 2 contributors

Commits on May 30, 2023

  1. Update README.md with latest v3 version

    Updates readme to reflect latest `v3` release of the action.
    ajaxbits authored May 30, 2023
    Copy the full SHA
    9c5d3b3 View commit details
  2. Merge pull request #25 from ajaxbits/patch-1

    Update example in README to use v3
    Hoverbear authored May 30, 2023
    Copy the full SHA
    8c00b3a View commit details

Commits on May 31, 2023

  1. Copy the full SHA
    11e71cc View commit details

Commits on Jun 1, 2023

  1. Add quotes

    Hoverbear committed Jun 1, 2023
    Copy the full SHA
    322d409 View commit details

Commits on Jun 5, 2023

  1. Merge pull request #26 from DeterminateSystems/different-url-for-ci

    Add a ?ci=github to GHA requests
    Hoverbear authored Jun 5, 2023
    Copy the full SHA
    65d7c88 View commit details
Showing with 7 additions and 7 deletions.
  1. +1 −1 README.md
  2. +6 −6 action.yml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v2
uses: DeterminateSystems/nix-installer-action@v3
- name: Run `nix build`
run: nix build .
```
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
@@ -255,18 +255,18 @@ runs:
echo "Set NIX_INSTALLER_FORCE_ALLOW_HTTP=$NIX_INSTALLER_FORCE_ALLOW_HTTP"
else
if [ -n "${{ inputs.nix-installer-url }}" ]; then
export NIX_INSTALLER_URL=${{ inputs.nix-installer-url }}
export NIX_INSTALLER_URL="${{ inputs.nix-installer-url }}"
else
if [ -n "${{ inputs.nix-installer-pr }}" ]; then
export NIX_INSTALLER_URL=https://install.determinate.systems/nix/pr/${{ inputs.nix-installer-pr }}
export NIX_INSTALLER_URL="https://install.determinate.systems/nix/pr/${{ inputs.nix-installer-pr }}?ci=github"
elif [ -n "${{ inputs.nix-installer-tag }}" ]; then
export NIX_INSTALLER_URL=https://install.determinate.systems/nix/tag/${{ inputs.nix-installer-tag }}
export NIX_INSTALLER_URL="https://install.determinate.systems/nix/tag/${{ inputs.nix-installer-tag }}?ci=github"
elif [ -n "${{ inputs.nix-installer-revision }}" ]; then
export NIX_INSTALLER_URL=https://install.determinate.systems/nix/rev/${{ inputs.nix-installer-revision }}
export NIX_INSTALLER_URL="https://install.determinate.systems/nix/rev/${{ inputs.nix-installer-revision }}?ci=github"
elif [ -n "${{ inputs.nix-installer-branch }}" ]; then
export NIX_INSTALLER_URL=https://install.determinate.systems/nix/branch/${{ inputs.nix-installer-branch }}
export NIX_INSTALLER_URL="https://install.determinate.systems/nix/branch/${{ inputs.nix-installer-branch }}?ci=github"
else
export NIX_INSTALLER_URL=https://install.determinate.systems/nix
export NIX_INSTALLER_URL="https://install.determinate.systems/nix?ci=github"
fi
fi
echo "Set NIX_INSTALLER_URL=$NIX_INSTALLER_URL"