mirror of
https://github.com/expo/expo-github-action.git
synced 2026-11-15 17:32:45 -10:00
chore: set major tag version to release commit
This commit is contained in:
1 parent
bb7c72336b
commit
b5160133d2
2 files changed
+8
-5
No files matched your search
@@ -86,4 +86,4 @@ jobs:
|
||||
return semver.major(version)
|
||||
|
||||
- name: 📋 Update tags
|
||||
run: git tag --force v${{ steps.version.outputs.result }} && git push --force --tags
|
||||
run: git fetch --tags && git pull && git tag --force v${{ steps.version.outputs.result }} && git push --force --tags
|
||||
@@ -13,6 +13,9 @@ concurrency:
|
||||
group: test-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
hasAuth: ${{ !!secrets.EXPO_TOKEN }}
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
strategy:
|
||||
@@ -41,14 +44,14 @@ jobs:
|
||||
run: eas --version
|
||||
|
||||
- name: 🧪 EAS authenticated
|
||||
if: ${{ secrets.EXPO_TOKEN }}
|
||||
if: ${{ env.hasAuth }}
|
||||
run: eas whoami
|
||||
|
||||
- name: 🧪 Expo installed
|
||||
run: expo --version
|
||||
|
||||
- name: 🧪 Expo authenticated
|
||||
if: ${{ secrets.EXPO_TOKEN }}
|
||||
if: ${{ env.hasAuth }}
|
||||
run: expo whoami
|
||||
|
||||
preview-comment:
|
||||
@@ -82,7 +85,7 @@ jobs:
|
||||
if (!message) throw new Error('Message output is empty')
|
||||
|
||||
- name: 🧪 Comment on PR (github-token)
|
||||
if: ${{ secrets.EXPO_TOKEN }}
|
||||
if: ${{ env.hasAuth }}
|
||||
uses: ./preview-comment
|
||||
env:
|
||||
EXPO_TEST_GITHUB_PULL: 149
|
||||
@@ -91,7 +94,7 @@ jobs:
|
||||
channel: test
|
||||
|
||||
- name: 🧪 Comment on PR (GITHUB_TOKEN)
|
||||
if: ${{ secrets.EXPO_TOKEN }}
|
||||
if: ${{ env.hasAuth }}
|
||||
uses: ./preview-comment
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in new issue
Block a user