From fcb09e452b5fa70e0aa4233a6b84bcd68aa07c43 Mon Sep 17 00:00:00 2001 From: Ellet Date: Thu, 16 May 2024 14:13:14 +0300 Subject: [PATCH] ci: upload the LICENSE to the release assets for new releases. --- .github/workflows/publish.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1e9d929e..5afd5600 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,6 +13,12 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Upload the License to the release assets + uses: actions/upload-artifact@v4 + with: + name: LICENSE + path: LICENSE + - uses: subosito/flutter-action@v2 with: channel: 'stable' @@ -26,9 +32,6 @@ jobs: - name: Install dependencies run: flutter pub get - - # Here you can insert custom steps you need - # - run: dart tool/generate-code.dart # This is needed in order for the authentication to success # dart pub token add https://pub.dev --env-var PUB_TOKEN