diff --git a/.github/workflows/matrix-test.yml b/.github/workflows/matrix-test.yml index c4ed153..c8f7484 100644 --- a/.github/workflows/matrix-test.yml +++ b/.github/workflows/matrix-test.yml @@ -12,9 +12,9 @@ jobs: create-release: name: create-release runs-on: ubuntu-latest - env: +# env: # Set to force version number, e.g., when no tag exists. - LEET_VERSION: TEST-0.0.3 +# LEET_VERSION: TEST-0.0.4 outputs: upload_url: ${{ steps.release.outputs.upload_url }} leet_version: ${{ env.LEET_VERSION }} @@ -113,7 +113,10 @@ jobs: with: use-cross: ${{ matrix.builds.cross }} command: build - args: --release --target ${{ matrix.builds.target }} ${{ matrix.builds.target_bins }} + # args: --release --target ${{ matrix.builds.target }} ${{ matrix.builds.target_bins }} + args: > + --release --target ${{ matrix.builds.target }} + ${{ matrix.builds.target_bins }} - name: Artifact upload uses: actions/upload-artifact@v2 @@ -122,6 +125,7 @@ jobs: path: target/${{ matrix.builds.target }}/release/cross-compile-sample - name: Upload release archive + if: ${{ startsWith(github.ref, 'refs/tags/v') }} uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}