diff --git a/release-to-candidate/action.yaml b/release-to-candidate/action.yaml index 4580243..c30d2dc 100644 --- a/release-to-candidate/action.yaml +++ b/release-to-candidate/action.yaml @@ -75,8 +75,6 @@ runs: # https://bugs.launchpad.net/snapcraft/+bug/1885150 yq -i '.architectures |= [{"build-on": env(arch)}]' "$yaml_path" - manifest="${PWD}/manifest-${arch}.yaml" - pushd "$project_root" && git init || exit if ! snapcraft remote-build --launchpad-accept-public-upload; then @@ -97,8 +95,8 @@ runs: if [[ -n "$project_root" ]]; then echo "snap=${project_root}/${name}_${version}_${arch}.snap" >> "$GITHUB_OUTPUT" fi - echo "name: ${name}" >> "$manifest" - echo "architecture: ${arch}" >> "manifest" + echo "name: ${name}" >> "manifest-${{ inputs.architecture }}.yaml" + echo "architecture: ${arch}" >> "manifest-${{ inputs.architecture }}.yaml" - name: Review the built snap uses: diddlesnaps/snapcraft-review-action@v1