Skip to content

Commit

Permalink
Fix artifacts workflow (#876)
Browse files Browse the repository at this point in the history
* Fix artifacts workflow

* Run on changes to self

* Fix script name

* Don't run on changes to self
  • Loading branch information
mosuem authored Aug 21, 2024
1 parent a8837e0 commit 4312cd4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/intl4x_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b
with:
name: dart-${{matrix.os}}-libs
name: dart-${{matrix.os}}-${{ matrix.compiletype }}-libs
path: submodules/icu4x/bin

check_hashes:
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
run: |
cd pkgs/intl4x
dart pub get
dart --enable-experiment=native-assets tool/generate_hashes.dart
dart --enable-experiment=native-assets tool/regenerate_hashes.dart
git diff --exit-code
release:
Expand Down
4 changes: 2 additions & 2 deletions pkgs/intl4x/hook/hashes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// THIS FILE IS AUTOGENERATED BY `tool/generate_hashes.dart`. TO UPDATE, RUN
// THIS FILE IS AUTOGENERATED BY `tool/regenerate_hashes.dart`. TO UPDATE, RUN
//
// dart --enable-experiment=native-assets run tool/generate_hashes.dart
// dart --enable-experiment=native-assets run tool/regenerate_hashes.dart
//

import 'package:native_assets_cli/native_assets_cli.dart';
Expand Down
4 changes: 2 additions & 2 deletions pkgs/intl4x/tool/regenerate_hashes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Future<void> main(List<String> args) async {
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// THIS FILE IS AUTOGENERATED BY `tool/generate_hashes.dart`. TO UPDATE, RUN
// THIS FILE IS AUTOGENERATED BY `tool/regenerate_hashes.dart`. TO UPDATE, RUN
//
// dart --enable-experiment=native-assets run tool/generate_hashes.dart
// dart --enable-experiment=native-assets run tool/regenerate_hashes.dart
//
import 'package:native_assets_cli/native_assets_cli.dart';
Expand Down

0 comments on commit 4312cd4

Please sign in to comment.