tirbofish/dropbear · diff
jarvis, create a new release for magna-carta
Signature present but could not be verified.
Unverified
@@ -0,0 +1,137 @@ +name: Release Magna Carta + +on: + push: + branches: + - main + +permissions: + contents: write + +jobs: + check-and-release: + runs-on: ubuntu-latest + outputs: + should_release: ${{ steps.check-commit.outputs.should_release }} + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Check commit message + id: check-commit + run: | + COMMIT_MSG=$(git log -1 --pretty=%B) + if [[ "$COMMIT_MSG" == *"jarvis, create a new release for magna-carta"* ]]; then + echo "should_release=true" >> $GITHUB_OUTPUT + else + echo "should_release=false" >> $GITHUB_OUTPUT + fi + + build-and-release: + needs: check-and-release + if: needs.check-and-release.outputs.should_release == 'true' + strategy: + fail-fast: false + matrix: + include: + - os: ubuntu-latest + target: x86_64-unknown-linux-gnu + artifact_name: magna-carta-linux-x64 + binary_name: magna-carta + + - os: windows-latest + target: x86_64-pc-windows-msvc + artifact_name: magna-carta-windows-x64.exe
Large diffs are not rendered by default. Showing the first 50 of 280 lines. Show full diff