summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2020-11-29 15:35:34 +0000
committerTom Forbes <tom@tomforb.es>2020-11-29 15:35:34 +0000
commit3bd48b28bca1fef44de3b772aa610ea4cea839de (patch)
treef0602acda026c7a31ed667ddb13bfa6884d10a1b /.github/workflows
parent71580618720ce68d06a40e8542667b60a4b96152 (diff)
Publish only tags
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e089d2a..5f39474 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -87,7 +87,6 @@ jobs:
strategy:
matrix:
target: [armv7-linux-androideabi, armv7-unknown-linux-gnueabihf]
-# if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
@@ -107,13 +106,14 @@ jobs:
cd target/${{ matrix.target }}/release/
tar czvf ../../../${{ matrix.target }} gping
cd -
-# - name: Publish
-# uses: softprops/action-gh-release@v1
-# with:
-# draft: false
-# files: 'gping*'
-# env:
-# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Publish
+ uses: softprops/action-gh-release@v1
+ if: startsWith(github.ref, 'refs/tags/')
+ with:
+ draft: false
+ files: 'gping*'
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
check:
name: Check