From 0bd57ad5c83aaeb21c1a1159144e6f79fdf11aee Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Fri, 16 Jun 2023 20:59:44 -0300 Subject: [PATCH] Release v0.15.0 - second attempt --- .github/workflows/release.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90c9d0f..9fd6a88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,8 +5,19 @@ on: branches: - main - master + paths: + # Just run on main branch if "native" path changed. + - "native/**" + # Also run if this file changes. + - ".github/workflows/release.yml" tags: - - '*' + # Tags will always run. + - "*" + pull_request: + paths: + # In PRs we only run if this file changes. + - ".github/workflows/release.yml" + workflow_dispatch: jobs: build_release: @@ -15,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - nif: ["2.16", "2.15", "2.14"] + nif: ["2.16", "2.15"] job: - { target: arm-unknown-linux-gnueabihf , os: ubuntu-20.04 , use-cross: true } - { target: aarch64-unknown-linux-gnu , os: ubuntu-20.04 , use-cross: true } @@ -64,6 +75,7 @@ jobs: - name: Write SHA256 to the summary run: | + echo "SHA256 for this artifact:" >> $GITHUB_STEP_SUMMARY echo "${{ steps.build-crate.outputs.file-sha256 }} ${{ steps.build-crate.outputs.file-name }}" >> $GITHUB_STEP_SUMMARY - name: Publish archives and packages