diff --git a/.github/workflows/on-commit.yml b/.github/workflows/on-commit.yml index 3f4bb97..e8b7721 100644 --- a/.github/workflows/on-commit.yml +++ b/.github/workflows/on-commit.yml @@ -1,4 +1,4 @@ -name: Dart +name: On Commit / PR on: push: @@ -8,4 +8,5 @@ on: jobs: analyze: + name: Analyze uses: ./.github/workflows/part_analyze.yml \ No newline at end of file diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index 020cd76..28b1477 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -1,4 +1,4 @@ -name: Dart +name: On Release on: release: @@ -6,8 +6,10 @@ on: jobs: analyze: + name: Analyze uses: ./.github/workflows/part_analyze.yml build-and-upload: + name: Build and Upload uses: ./.github/workflows/part_build-and-upload.yml # with: # release-string: ${{ github.event.release.tag_name }} \ No newline at end of file diff --git a/.github/workflows/part_analyze.yml b/.github/workflows/part_analyze.yml index d6d3af0..f4c4e22 100644 --- a/.github/workflows/part_analyze.yml +++ b/.github/workflows/part_analyze.yml @@ -5,7 +5,7 @@ on: jobs: analyze: - name: "Analyze code" + name: Analyze code runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/part_build-and-upload.yml b/.github/workflows/part_build-and-upload.yml index 91bc6a5..5b85f61 100644 --- a/.github/workflows/part_build-and-upload.yml +++ b/.github/workflows/part_build-and-upload.yml @@ -9,7 +9,7 @@ on: jobs: build-and-upload: - name: "Build and Upload apk" + name: Build and Upload apk runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -32,8 +32,8 @@ jobs: - name: Upload apk to release uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: - asset_name: lyric_test_${{ github.event.release.tag_name }}.apk - tag: ${{ github.ref }} \ No newline at end of file + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: + asset_name: lyric_test_${{ github.event.release.tag_name }}.apk + tag: ${{ github.ref }} \ No newline at end of file