Skip to content

Commit

Permalink
ci: Update flutter-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
phanatagama authored Sep 22, 2023
1 parent 4a0af28 commit c9f0ab1
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,31 +84,31 @@ jobs:
asset_name: app-release.apk
asset_content_type: application/octet-stream

publish:
runs-on: ubuntu-latest
needs: [build]
steps:
# 1
- uses: actions/checkout@v3
# publish:
# runs-on: ubuntu-latest
# needs: [build]
# steps:
# # 1
# - uses: actions/checkout@v3

- uses: actions/download-artifact@v3
with:
name: release-apk
path: build/app/outputs/apk/release/app-release.apk
# - uses: actions/download-artifact@v3
# with:
# name: release-apk
# path: build/app/outputs/apk/release/app-release.apk

- name: Display structure of downloaded files
run: ls -R
# 2
- name: Generate release tag
id: tag
run: |
echo "::set-output name=release_tag::Flarax_$(date +"%Y.%m.%d_%H-%M")"
# 3
- name: Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
files: build/app/outputs/apk/release/app-release.apk
# - name: Display structure of downloaded files
# run: ls -R
# # 2
# - name: Generate release tag
# id: tag
# run: |
# echo "::set-output name=release_tag::Flarax_$(date +"%Y.%m.%d_%H-%M")"
# # 3
# - name: Release
# uses: softprops/action-gh-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ steps.tag.outputs.release_tag }}
# files: build/app/outputs/apk/release/app-release.apk

0 comments on commit c9f0ab1

Please sign in to comment.