Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bsutton authored May 12, 2022
1 parent d9eb9b5 commit 037c3e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
- uses: dart-lang/[email protected]
with:
sdk: ${{ matrix.sdk }}

# you can reference the tagged version via
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

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

0 comments on commit 037c3e6

Please sign in to comment.