.package(url: "https://github.com/doozMen/ssh-install.git", .upToNextMajor(from: "0.0.1"))
swift run ssh-install -h
You can add the code below if you added a folder with a copy or simular content of
The secrets should have been added to repo settings secrets. more info
steps:
- name: cache SPM buildtools
uses: actions/[email protected]
with:
path: BuildTools/.build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: "build BuildTools"
run: swift build -c release --package-path BuildTools
- name: "Set up SSH agent"
run: |
echo "${{secrets.PRIVATE_KEY }}" >> ~/privateKey
echo "${{secrets.PUBLIC_KEY }}" >> ~/publicKey
echo "${{secrets.SSH_CONFIG }}" >> ~/config
swift run --skip-build -c release --package-path BuildTools ssh-install ~/privateKey ~/publicKey ~/config
link |
Stars: 0 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics