From db37b93c7ea601c29ca41fc92936e84a7e9899f1 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Mon, 1 Mar 2021 20:35:57 -0500 Subject: [PATCH] update release.yml --- .github/workflows/release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3ddb60c4..ee0614f13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,11 +1,9 @@ name: Upload Release APK on: - release: - types: - - created + create: tags: - - 'v*' + - "v[0-9]+.[0-9]+.[0-9]+*" jobs: build: @@ -13,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/*/}" >> $GITHUB_ENV + - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - uses: textbook/git-checkout-submodule-action@master - run: cp jni/deltachat-core-rust/rust-toolchain . - uses: actions-rs/toolchain@v1