Skip to content

Commit 037c3e6

Browse files
authored
Update release.yml
1 parent d9eb9b5 commit 037c3e6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
- uses: dart-lang/[email protected]
2525
with:
2626
sdk: ${{ matrix.sdk }}
27+
28+
# you can reference the tagged version via
29+
- name: Get the version
30+
id: get_version
31+
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
2732

2833
- name: Install dependencies
2934
run: dart pub get
@@ -55,6 +60,7 @@ jobs:
5560
env:
5661
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
5762
with:
63+
name: ${{ matrix.os }}/${{github.ref_name}}
5864
files: |
5965
bin/${{ matrix.os }}/opub
6066
bin/${{ matrix.os }}/onepub

0 commit comments

Comments
 (0)