diff options
-rw-r--r-- | .github/workflows/test.yml | 16 |
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 |