diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e92a39..a287e83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,10 +31,6 @@ jobs: run: | gem install bundler bundle install --without=documentation - - name: Swift - uses: swift-actions/setup-swift@v2 - with: - swift-version: "5.9" - name: Preparation run: set -o pipefail - name: Build @@ -50,19 +46,22 @@ jobs: linux: name: Linux runs-on: ubuntu-22.04 + container: + image: swift:5.9 steps: - uses: actions/checkout@v2 + - name: Install dependencies + run: | + apt-get update + apt-get install -y build-essential libyaml-dev libffi-dev curl - name: Ruby uses: ruby/setup-ruby@v1 - name: Bundler run: | gem install bundler bundle install --without=documentation - - name: Swift - uses: swift-actions/setup-swift@v2 - with: - swift-version: "5.9" - name: Preparation + shell: bash run: set -o pipefail - name: Build run: make build diff --git a/Makefile b/Makefile index 56d32cb..3c95d27 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PREFIX?=/usr/local PRODUCT_NAME=figmagen -PRODUCT_VERSION=2.0.0-beta.25 +PRODUCT_VERSION=2.0.0-beta.26 TEMPLATES_NAME=Templates README_NAME=README.md LICENSE_NAME=LICENSE diff --git a/README.md b/README.md index 18ae1c7..8fcc9be 100755 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Currently, FigmaGen supports the following entities: ### CocoaPods To install FigmaGen using [CocoaPods](http://cocoapods.org) dependency manager, add this line to your `Podfile`: ```ruby -pod 'FigmaGen', '~> 2.0.0-beta.25' +pod 'FigmaGen', '~> 2.0.0-beta.26' ``` Then run this command: @@ -73,7 +73,7 @@ $ brew install hhru/tap/figmagen For [Mint](https://github.com/yonaskolb/mint) package manager installation, run: ```sh -$ mint install hhru/FigmaGen@2.0.0-beta.25 +$ mint install hhru/FigmaGen@2.0.0-beta.26 ``` ### ZIP archive diff --git a/Sources/FigmaGen/main.swift b/Sources/FigmaGen/main.swift index dff2904..c613745 100644 --- a/Sources/FigmaGen/main.swift +++ b/Sources/FigmaGen/main.swift @@ -6,7 +6,7 @@ import PathKit Path.current = Path(#file).appending("../../../Demo") #endif -let version = "2.0.0-beta.25" +let version = "2.0.0-beta.26" let logger = Logger() let figmagen = CLI(