diff --git a/.github/workflows/release-native.yml b/.github/workflows/release-native.yml index 83328b7..a45b5e4 100644 --- a/.github/workflows/release-native.yml +++ b/.github/workflows/release-native.yml @@ -1,7 +1,7 @@ name: Native Release Builds on: - release: - types: [created] + push: + tags: [ "[0-9]+.[0-9]+.[0-9]+" ] jobs: build: @@ -29,4 +29,4 @@ jobs: - name: Upload release asset env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release upload $GITHUB_REF build/native/nativeCompile/Ecore2Emfatic* + run: gh release upload ${{ GITHUB_REF }} build/native/nativeCompile/Ecore2Emfatic*