Skip to content

Commit

Permalink
更新 test-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gusibi authored Jan 4, 2024
1 parent 316d08b commit 53552cc
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/flutter_action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Release

- name: Flutter action
uses: subosito/[email protected]

on:
push:
tags:
- 'v*'

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Print version
run: echo ${{ steps.get_version.outputs.VERSION }}

0 comments on commit 53552cc

Please sign in to comment.