File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 13
13
- master
14
14
15
15
jobs :
16
- create-nightly-release :
17
- name : Create Nightly release
16
+ bump_manifest :
17
+ name : Bump manifest version
18
18
runs-on : ubuntu-latest
19
+ outputs :
20
+ release_tag : {{ steps.get_tag.outputs.release_tag }}
19
21
20
22
steps :
21
23
- name : Checkout source code
@@ -48,13 +50,14 @@ jobs:
48
50
author_email : 41898282+github-actions[bot]@users.noreply.github.com
49
51
message : " chore: bump manifest version to nightly ${{ steps.get_tag.outputs.release_tag }}"
50
52
51
-
52
- # super hacky
53
+ create-nightly-release :
54
+ name : Create Nightly release
55
+ runs-on : ubuntu-latest
56
+ steps :
53
57
- name : Checkout source code
54
58
uses : actions/checkout@v4
55
59
with :
56
60
fetch-depth : 0
57
- ref : ${{ steps.commit_manifest.outputs.commit_sha }}
58
61
59
62
- name : Install pnpm
60
63
69
72
run : pnpm i --frozen-lockfile
70
73
71
74
- name : Run build
72
- run : REACT_APP_VERSION=${{ steps.get_tag .outputs.release_tag }} pnpm build
75
+ run : REACT_APP_VERSION=${{ needs.bump_manifest .outputs.release_tag }} pnpm build
73
76
74
77
# - name: Create Sentry Release (NPWD)
75
78
# run: |
98
101
id : auto_release
99
102
with :
100
103
environment : " dev"
101
- title : NPWD Nightly ${{ steps.get_tag .outputs.release_tag }}
104
+ title : NPWD Nightly ${{ needs.bump_manifest .outputs.release_tag }}
102
105
prerelease : true
103
- automatic_release_tag : ${{ steps.get_tag .outputs.release_tag }}
106
+ automatic_release_tag : ${{ needs.bump_manifest .outputs.release_tag }}
104
107
files : npwd.zip
105
108
env :
106
109
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments