Skip to content

Commit

Permalink
edit push
Browse files Browse the repository at this point in the history
  • Loading branch information
elysias123 committed Dec 1, 2023
1 parent 4483e05 commit 7db81b5
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ jobs:
- name: Show APKs SHA256
if: success()
run: |
mkdir -p ${{ github.workspace }}/git_clone
git clone ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }}/git_clone -b ${{ github.ref_name }}
cd ${{ github.workspace }}/git_clone
echo "commit=$(git clone ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }}/git_clone -b ${{ github.ref_name }})" >> $GITHUB_ENV
echo "### Build Success" >> $GITHUB_STEP_SUMMARY
echo "|Artifact|SHA256|" >> $GITHUB_STEP_SUMMARY
echo "|:--------:|:----------|" >> $GITHUB_STEP_SUMMARY
Expand All @@ -72,6 +68,13 @@ jobs:
name: HyperCeiler Canary
path: ${{ env.APK_FILE_CANARY }}

- name: commit
run: |
mkdir -p ${{ github.workspace }}/git_clone
git clone ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }}/git_clone -b ${{ github.ref_name }}
cd ${{ github.workspace }}/git_clone
echo "commit=$(git clone ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }}/git_clone -b ${{ github.ref_name }})" >> $GITHUB_ENV
- name: Post to Canary Channel
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && github.ref_type != 'tag' && contains(github.event.head_commit.message, '[skip post]') == false && contains(github.event.head_commit.message, 's#') == false }}
shell: bash
Expand All @@ -84,6 +87,10 @@ jobs:
```
${{ env.commit }}
```
sha256:
```
${{ env.SHA256 }}
```by ${{ github.event.head_commit.author.name }}
See commit detail [here](${{ github.event.head_commit.url }})
run: |
Expand Down

0 comments on commit 7db81b5

Please sign in to comment.