mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-26 20:24:42 +01:00
Use a self-hosted runner to release a native Mac OS ARM64 runner
This commit is contained in:
parent
126f0a6223
commit
f3093e90ba
43
.github/workflows/ci.yml
vendored
43
.github/workflows/ci.yml
vendored
@ -277,7 +277,7 @@ jobs:
|
|||||||
run: dart bin/sass.dart --quiet build/bulma/bulma.sass build/bulma-output.css
|
run: dart bin/sass.dart --quiet build/bulma/bulma.sass build/bulma-output.css
|
||||||
|
|
||||||
deploy_github_linux:
|
deploy_github_linux:
|
||||||
name: "Deploy Github: Linux"
|
name: "Deploy Github: linux-ia32, linux-x64"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [bootstrap, bourbon, foundation, bulma]
|
needs: [bootstrap, bourbon, foundation, bulma]
|
||||||
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/dart-sass'"
|
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/dart-sass'"
|
||||||
@ -293,7 +293,7 @@ jobs:
|
|||||||
GH_USER: sassbot
|
GH_USER: sassbot
|
||||||
|
|
||||||
deploy_github_linux_qemu:
|
deploy_github_linux_qemu:
|
||||||
name: "Deploy Github: Linux"
|
name: "Deploy Github: linux-${{ matrix.arch }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -325,34 +325,33 @@ jobs:
|
|||||||
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
|
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
|
||||||
GH_USER: sassbot
|
GH_USER: sassbot
|
||||||
|
|
||||||
deploy_github_macos:
|
deploy_github:
|
||||||
name: "Deploy Github: Mac OS"
|
name: "Deploy Github: ${{ matrix.platform }}"
|
||||||
runs-on: macos-latest
|
runs-on: ${{ matrix.runner }}
|
||||||
needs: [deploy_github_linux]
|
needs: [deploy_github_linux]
|
||||||
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/dart-sass'"
|
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/dart-sass'"
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- runner: macos-latest
|
||||||
|
platform: macos-x64
|
||||||
|
architecture: x64
|
||||||
|
- runner: self-hosted
|
||||||
|
platform: macos-arm64
|
||||||
|
architecture: arm64
|
||||||
|
- runner: windows-latest
|
||||||
|
platform: windows
|
||||||
|
architecture: x64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: dart-lang/setup-dart@v1
|
- uses: dart-lang/setup-dart@v1
|
||||||
|
# Workaround for dart-lang/setup-dart#59
|
||||||
|
with:
|
||||||
|
architecture: ${{ matrix.architecture }}
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: dart run grinder pkg-github-macos
|
run: dart run grinder pkg-github-${{ matrix.platform }}
|
||||||
env:
|
|
||||||
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
|
|
||||||
GH_USER: sassbot
|
|
||||||
|
|
||||||
deploy_github_windows:
|
|
||||||
name: "Deploy Github: Windows"
|
|
||||||
runs-on: windows-latest
|
|
||||||
needs: [deploy_github_linux]
|
|
||||||
if: "startsWith(github.ref, 'refs/tags/') && github.repository == 'sass/dart-sass'"
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: dart-lang/setup-dart@v1
|
|
||||||
- run: dart pub get
|
|
||||||
- name: Deploy
|
|
||||||
run: dart run grinder pkg-github-windows
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
|
GH_TOKEN: "${{ secrets.GH_TOKEN }}"
|
||||||
GH_USER: sassbot
|
GH_USER: sassbot
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
## 1.54.3
|
||||||
|
|
||||||
|
* Release a native ARM64 executable for Mac OS.
|
||||||
|
|
||||||
## 1.54.2
|
## 1.54.2
|
||||||
|
|
||||||
* No user-visible changes.
|
* No user-visible changes.
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
## 2.0.3
|
||||||
|
|
||||||
|
* No user-visible changes.
|
||||||
|
|
||||||
## 2.0.2
|
## 2.0.2
|
||||||
|
|
||||||
* No user-visible changes.
|
* No user-visible changes.
|
||||||
|
@ -2,7 +2,7 @@ name: sass_api
|
|||||||
# Note: Every time we add a new Sass AST node, we need to bump the *major*
|
# Note: Every time we add a new Sass AST node, we need to bump the *major*
|
||||||
# version because it's a breaking change for anyone who's implementing the
|
# version because it's a breaking change for anyone who's implementing the
|
||||||
# visitor interface(s).
|
# visitor interface(s).
|
||||||
version: 2.0.2
|
version: 2.0.3
|
||||||
description: Additional APIs for Dart Sass.
|
description: Additional APIs for Dart Sass.
|
||||||
homepage: https://github.com/sass/dart-sass
|
homepage: https://github.com/sass/dart-sass
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ environment:
|
|||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
sass: 1.54.2
|
sass: 1.54.3
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
dartdoc: ^5.0.0
|
dartdoc: ^5.0.0
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: sass
|
name: sass
|
||||||
version: 1.54.2
|
version: 1.54.3
|
||||||
description: A Sass implementation in Dart.
|
description: A Sass implementation in Dart.
|
||||||
homepage: https://github.com/sass/dart-sass
|
homepage: https://github.com/sass/dart-sass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user