Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
RedyAu committed Oct 25, 2024
1 parent 6ebe805 commit 4d4c5aa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/on-commit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Dart
name: On Commit / PR

on:
push:
Expand All @@ -8,4 +8,5 @@ on:

jobs:
analyze:
name: Analyze
uses: ./.github/workflows/part_analyze.yml
4 changes: 3 additions & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Dart
name: On Release

on:
release:
types: [released, prereleased]

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 }}
2 changes: 1 addition & 1 deletion .github/workflows/part_analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
analyze:
name: "Analyze code"
name: Analyze code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/part_build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file:
asset_name: lyric_test_${{ github.event.release.tag_name }}.apk
tag: ${{ github.ref }}

0 comments on commit 4d4c5aa

Please sign in to comment.