Bump version to v0.5.0 #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy prebuilt-framework for Carthage when tagged | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
deploy: | |
name: Deploy built-framework to GitHub releases | |
runs-on: macOS-latest | |
strategy: | |
matrix: | |
framework: [WebP] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v1 | |
- name: Archive prebuilt framework with Carthage | |
run: | | |
set -o pipefail | |
brew update | |
brew outdated carthage || brew upgrade carthage | |
git submodule update -i | |
carthage build --no-skip-current | |
carthage archive ${{ matrix.framework }} | |
- name: Upload built framework to GitHub Release | |
uses: svenstaro/upload-release-action@v1-release | |
with: | |
file: '${{ matrix.framework }}.framework.zip' | |
asset_name: '${{ matrix.framework }}.framework.zip' | |
tag: ${{ github.ref }} | |
overwrite: true | |
repo_token: ${{ secrets.GITHUB_TOKEN }} |