Skip to content

Commit

Permalink
rework release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AdriaCarrera committed Apr 16, 2024
1 parent a7c6440 commit bbbc9d8
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
on:
push:
branches:
- main
workflow_dispatch:
inputs:
tag:
description: The tag of the release
required: true

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -24,3 +27,9 @@ jobs:
run: sed -i -e "s/__BUILD_NUMBER__/${{ github.run_number }}/" eas.json
- name: 🚀 Build app
run: eas build --non-interactive --no-wait --platform=android --profile=productionRelease
- name: Generate Github release
uses: softprops/action-gh-release@v1
with:
name: ${{ github.event.inputs.tag }}
tag_name: ${{ github.event.inputs.tag }}
target_commitish: main

0 comments on commit bbbc9d8

Please sign in to comment.