Skip to content

Commit

Permalink
Merge pull request #21 from jnsgruk/main
Browse files Browse the repository at this point in the history
fix: don't checkout the source in parse-snapcraft-yaml action
  • Loading branch information
merlijn-sebrechts authored Dec 5, 2023
2 parents 28ccdaa + e69f549 commit f2333ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion parse-snapcraft-yaml/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# snapcrafters/ci/parse-snapcraft-yaml

This action is more for use internally than otherwise. It's purpose is to either find a snapcraft.yaml file from a list of known common locations in a repository, or take the path to a snapcraft.yaml, then parse some information from it and provide that information as outputs.
This action is more for use internally than otherwise. It's purpose is to either find a snapcraft.yaml file from a list of known common locations in a repository, or take the path to a snapcraft.yaml, then parse some information from it and provide that information as outputs. This action **will not** checkout the source code, and expects that to have already happened.

You only need to specify the `snapcraft-project-root` input if your `snapcraft.yaml` is not in one of the following locations:

Expand Down
3 changes: 0 additions & 3 deletions parse-snapcraft-yaml/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ outputs:
runs:
using: composite
steps:
- name: Checkout the source
uses: actions/checkout@v4

- name: Find and parse snapcraft.yaml
id: parse
shell: bash
Expand Down

0 comments on commit f2333ed

Please sign in to comment.