Skip to content

Commit

Permalink
fix: Remove slash from APK name
Browse files Browse the repository at this point in the history
  • Loading branch information
kongwoojin committed Mar 24, 2024
1 parent 210fa3f commit 8023930
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/debug_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- '**'
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

jobs:
build:
Expand Down Expand Up @@ -55,8 +57,14 @@ jobs:
- name: Build debug APK
run: ./gradlew assembleDebug

- name: Set MODIFIED_BRANCH_NAME
env:
name: "${{env.BRANCH_NAME}}"
run: |
echo "MODIFIED_BRANCH_NAME=${name/\//-}" >> $GITHUB_ENV
- name: Upload debug APK
uses: actions/upload-artifact@v4
with:
name: Koreatech-Board-${{ github.ref_name }}-debug
name: Koreatech-Board-${{ env.MODIFIED_BRANCH_NAME }}-debug
path: app/build/outputs/apk/debug/

0 comments on commit 8023930

Please sign in to comment.