Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.1.1: Add GitHub Actions for publishing Windows dlls on a release #234

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

TysonAndre
Copy link
Collaborator

Change the release checklist to start creating releases again.

https://pecl.php.net/package/ast still doesn't have releases, and the php 8.2.0 stable release is close to being published

A similar workflow succeeded in https://github.com/TysonAndre/var_representation/actions/runs/3260935531

This limits dlls to be published on stable releases, to save resources, and to avoid creating dlls for unmerged PRs or functionality that may be revised later.

Avoid ambiguity and put `php-` and `ast-` before the corresponding
version (e.g. avoid calling it Windows-8.1 for php 8.1).

These will be on a release page with artifacts for other platforms
@TysonAndre TysonAndre requested a review from nikic October 18, 2022 04:23
uses: actions/upload-artifact@v3.1.0
with:
name: ast-${{github.ref_name}}-Windows-php-${{matrix.version}}-${{matrix.arch}}-${{matrix.ts}}
path: .install
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be integrated into the normal workflow, like in apcu?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be - largely, I don't want dlls available for non-release versions in case we change our minds about how a feature is implemented before a release - it's a difference of what triggers the build

on:
  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
  release:
    types: [published]
on: [push, pull_request]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants