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

update to new Zarf repo #46

Merged
merged 2 commits into from
Jul 18, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Action to Install and Setup Zarf

Make [Zarf](https://github.com/defenseunicorns/zarf) available to your GitHub Actions workflows.
Make [Zarf](https://github.com/zarf-dev/zarf) available to your GitHub Actions workflows.

This action will optionally download a Zarf init package. To learn more about Zarf init packages and their use-cases, see the [Zarf docs](https://docs.zarf.dev/docs/user-guide/zarf-packages/the-zarf-init-package).

Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- Optional
- Default: latest release
- **_Note:_** Include the `v` in your version (e.g., `v0.24.3`)
- Check out the [Zarf releases page](https://github.com/defenseunicorns/zarf/releases) to see available versions
- Check out the [Zarf releases page](https://github.com/zarf-dev/zarf/releases) to see available versions

### download-init-package

Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ runs:

# Use latest version if not specified
if [ "${version}" == "" ]; then
version=$(curl -sIX HEAD https://github.com/defenseunicorns/zarf/releases/latest | grep -i ^location: | grep -Eo 'v[0-9]+.[0-9]+.[0-9]+')
version=$(curl -sIX HEAD https://github.com/zarf-dev/zarf/releases/latest | grep -i ^location: | grep -Eo 'v[0-9]+.[0-9]+.[0-9]+')
fi

release_path="https://github.com/defenseunicorns/zarf/releases/download/${version}"
release_path="https://github.com/zarf-dev/zarf/releases/download/${version}"

mkdir -p $target_dir

Expand Down