Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: update Swift Publish
  • Loading branch information
Shohei Ueda authored and GitHub committed Oct 7, 2020
1 parent 274c177 commit f15a311
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Expand Up @@ -1067,17 +1067,25 @@ on:

jobs:
deploy:
runs-on: ubuntu-18.04
runs-on: macos-latest
steps:
- uses: actions/checkout@v2

- name: Setup JohnSundell/Publish
run: |
cd ${HOME}
git clone --depth=1 https://github.com/JohnSundell/Publish.git
git clone https://github.com/JohnSundell/Publish.git
cd ./Publish
git checkout 0.7.0
swift build -c release
echo "::add-path::${HOME}/Publish/.build/release"
echo "${HOME}/Publish/.build/release" >> ${GITHUB_PATH}
- uses: actions/cache@v2
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- run: publish-cli generate

Expand Down

0 comments on commit f15a311

Please sign in to comment.