-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (37 loc) · 1.24 KB
/
release-dev.yaml
File metadata and controls
40 lines (37 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Release DEV
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node-environment
with:
node-version: '20'
cache-path: 'node_modules'
cache-key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
- uses: ./.github/actions/setup-expo
with:
expo-token: ${{ secrets.EXPO_TOKEN }}
- name: Install dependencies
run: npm i
- name: Build development
run: npm run build:android-dev
env:
EXPO_PROJECT_ID: ${{ secrets.EXPO_PROJECT_ID }}
- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.run_number }}
release_name: Snapshot Release v${{ github.run_number }} - ${{ github.ref_name }}
body: |
WIP development pre-release
draft: false
prerelease: true
- name: Upload apk to GitHub Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload v${{ github.run_number }} ./app-dev.apk