From ac1622fe89f6ffab082dad2347452e867706a310 Mon Sep 17 00:00:00 2001 From: hanami <1021210354@qq.com> Date: Tue, 3 Sep 2024 18:22:57 +0800 Subject: [PATCH] test github action --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..037a1ca --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Flutter CI + +on: + workflow_dispatch: + inputs: + TAG: + description: 'Set a Tag' + required: true + default: '' + push: + tags: + - v* + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Clone repository + uses: actions/checkout@v4 + - name: test output + run: | + echo "the current commit ID is $GITHUB_SHA" + echo "the current tag is ${{ github.event.inputs.TAG }}" \ No newline at end of file