Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/rules_sass-compiler-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ jobs:
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c # v1
- run: dart pub get --enforce-lockfile
- run: mkdir -p src/compiler/built/
- run: dart compile exe src/compiler/bin/x_sass.dart -o src/compiler/built/${{ matrix.bin_name }}

# To fix the non-deterministic build problem on macOS, force the Dart compiler to use a stable,
# non-random temporary directory during compilation. By default, macOS uses a random subfolder in /var/folders/...,
# but we can override this by setting the TMPDIR environment variable to a fixed path within the workspace.
- run: |
dart compile exe src/compiler/bin/x_sass.dart -o src/compiler/built/${{ matrix.bin_name }} --extra-gen-snapshot-options=--deterministic,--worker_threads=1
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: ${{ matrix.bin_name }}
Expand All @@ -56,8 +61,8 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
with:
token: ${{ secrets.ANGULAR_ROBOT_ACCESS_TOKEN }}
push-to-fork: 'angular-robot/dev-infra'
token: ${{ secrets.NG_RENOVATE_USER_ACCESS_TOKEN }}
push-to-fork: 'alan-agius4/dev-infra'
delete-branch: true
maintainer-can-modify: true
branch: compiler-binary-updates
Expand Down
Loading