Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rizrmdhn authored Jun 13, 2024
2 parents e704fa9 + 1180fca commit ccc89ed
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
issues: write
deployments: write

steps:
- name: Checkout repository
Expand Down Expand Up @@ -70,6 +75,12 @@ jobs:
release:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
issues: write
deployments: write

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -120,7 +131,9 @@ jobs:

- name: Get commit title
id: get_commit_title
run: echo "COMMIT_TITLE=$(git log -1 --pretty=%s | tr -d '\n' | tr -d '\r')" >> $GITHUB_ENV
run: |
COMMIT_TITLE=$(git log -1 --pretty=%s)
echo "COMMIT_TITLE=$(echo $COMMIT_TITLE | tr -d '\n' | tr -d '\r')" >> $GITHUB_ENV
shell: bash

- name: Create GitHub Release
Expand All @@ -144,3 +157,4 @@ jobs:
asset_content_type: application/vnd.android.package-archive
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}

0 comments on commit ccc89ed

Please sign in to comment.