diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..9145b73 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,12 @@ +name: Major Release Tagger + +on: + release: + types: + - published + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: cloudposse/github-action-major-release-tagger@v1 diff --git a/.github/workflows/setup-test.yml b/.github/workflows/setup-test.yml index 95785d5..ea437d7 100644 --- a/.github/workflows/setup-test.yml +++ b/.github/workflows/setup-test.yml @@ -26,7 +26,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - uses: cloudposse/github-action-matrix-outputs-write@0.5.0 + - uses: cloudposse/github-action-matrix-outputs-write@v1 id: writer with: matrix-step-name: ${{ inputs.matrix-step-name }} diff --git a/.github/workflows/test-negative.yml b/.github/workflows/test-negative.yml index 9d819a4..11414a2 100644 --- a/.github/workflows/test-negative.yml +++ b/.github/workflows/test-negative.yml @@ -20,7 +20,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - uses: cloudposse/github-action-matrix-outputs-write@0.5.0 + - uses: cloudposse/github-action-matrix-outputs-write@v1 with: matrix-step-name: ${{ github.job }} matrix-key: ${{ matrix.target }} diff --git a/.github/workflows/test-positive.yml b/.github/workflows/test-positive.yml index 9bdd136..4817e90 100644 --- a/.github/workflows/test-positive.yml +++ b/.github/workflows/test-positive.yml @@ -20,7 +20,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - uses: cloudposse/github-action-matrix-outputs-write@0.5.0 + - uses: cloudposse/github-action-matrix-outputs-write@v1 with: matrix-step-name: ${{ github.job }} matrix-key: ${{ matrix.target }} diff --git a/README.md b/README.md index 628bcca..41ce2cd 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,22 @@ We implement the workaround with two GitHub Actions: * [Matrix Outputs Write](https://github.com/cloudposse/github-action-matrix-outputs-write) * [Matrix Outputs Read](https://github.com/cloudposse/github-action-matrix-outputs-read) +## v1 - What's new + +> [!IMPORTANT] +> cloudposse/github-action-matrix-outputs-read@v1+ is not currently supported on GHES yet. If you are on GHES, you +> must use [v0](https://github.com/cloudposse/github-action-matrix-outputs-read/releases/tag/0.1.2). + +The release of `cloudposse/github-action-matrix-outputs-write@v1` and `cloudposse/github-action-matrix-outputs-read@v1` +are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements. + +For more information, see the [`@actions/artifact`](https://github.com/actions/toolkit/tree/main/packages/artifact) documentation. + +### Breaking Changes + +1. On self hosted runners, additional [firewall rules](https://github.com/actions/toolkit/tree/main/packages/artifact#breaking-changes) may be required. +2. `cloudposse/github-action-matrix-outputs-read@v1` can not be read outputs writen by `cloudposse/github-action-matrix-outputs-write@v0`. + @@ -106,7 +122,7 @@ Example how you can use workaround to reference matrix job outputs. PLATFORM=${{ matrix.platform }} ## Write for matrix outputs workaround - - uses: cloudposse/github-action-matrix-outputs-write@0.3.1 + - uses: cloudposse/github-action-matrix-outputs-write@v1 id: out with: matrix-step-name: ${{ github.job }} @@ -119,7 +135,7 @@ Example how you can use workaround to reference matrix job outputs. runs-on: ubuntu-latest needs: [build] steps: - - uses: cloudposse/github-action-matrix-outputs-read@main + - uses: cloudposse/github-action-matrix-outputs-read@v1 id: read with: matrix-step-name: build @@ -203,7 +219,7 @@ jobs: needs: [build] steps: ## Write for matrix outputs workaround - - uses: cloudposse/github-action-matrix-outputs-write@0.3.1 + - uses: cloudposse/github-action-matrix-outputs-write@v1 id: out with: matrix-step-name: ${{ inputs.matrix-step-name }} @@ -243,7 +259,7 @@ jobs: runs-on: ubuntu-latest needs: [build] steps: - - uses: cloudposse/github-action-matrix-outputs-read@main + - uses: cloudposse/github-action-matrix-outputs-read@v1 id: read with: matrix-step-name: build @@ -416,7 +432,7 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow. ## Copyright -Copyright © 2017-2023 [Cloud Posse, LLC](https://cpco.io/copyright) +Copyright © 2017-2024 [Cloud Posse, LLC](https://cpco.io/copyright) diff --git a/README.yaml b/README.yaml index 4c2e675..2f31128 100644 --- a/README.yaml +++ b/README.yaml @@ -48,6 +48,22 @@ introduction: |- * [Matrix Outputs Write](https://github.com/cloudposse/github-action-matrix-outputs-write) * [Matrix Outputs Read](https://github.com/cloudposse/github-action-matrix-outputs-read) + ## v1 - What's new + + > [!IMPORTANT] + > cloudposse/github-action-matrix-outputs-read@v1+ is not currently supported on GHES yet. If you are on GHES, you + > must use [v0](https://github.com/cloudposse/github-action-matrix-outputs-read/releases/tag/0.1.2). + + The release of `cloudposse/github-action-matrix-outputs-write@v1` and `cloudposse/github-action-matrix-outputs-read@v1` + are major changes to the backend architecture of Artifacts. They have numerous performance and behavioral improvements. + + For more information, see the [`@actions/artifact`](https://github.com/actions/toolkit/tree/main/packages/artifact) documentation. + + ### Breaking Changes + + 1. On self hosted runners, additional [firewall rules](https://github.com/actions/toolkit/tree/main/packages/artifact#breaking-changes) may be required. + 2. `cloudposse/github-action-matrix-outputs-read@v1` can not be read outputs writen by `cloudposse/github-action-matrix-outputs-write@v0`. + references: - name: "github-actions-workflows" description: "Reusable workflows for different types of projects" @@ -88,7 +104,7 @@ usage: |- PLATFORM=${{ matrix.platform }} ## Write for matrix outputs workaround - - uses: cloudposse/github-action-matrix-outputs-write@0.3.1 + - uses: cloudposse/github-action-matrix-outputs-write@v1 id: out with: matrix-step-name: ${{ github.job }} @@ -101,7 +117,7 @@ usage: |- runs-on: ubuntu-latest needs: [build] steps: - - uses: cloudposse/github-action-matrix-outputs-read@main + - uses: cloudposse/github-action-matrix-outputs-read@v1 id: read with: matrix-step-name: build @@ -185,7 +201,7 @@ usage: |- needs: [build] steps: ## Write for matrix outputs workaround - - uses: cloudposse/github-action-matrix-outputs-write@0.3.1 + - uses: cloudposse/github-action-matrix-outputs-write@v1 id: out with: matrix-step-name: ${{ inputs.matrix-step-name }} @@ -225,7 +241,7 @@ usage: |- runs-on: ubuntu-latest needs: [build] steps: - - uses: cloudposse/github-action-matrix-outputs-read@main + - uses: cloudposse/github-action-matrix-outputs-read@v1 id: read with: matrix-step-name: build diff --git a/action.yml b/action.yml index 66a1cc2..faea24b 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ runs: version: 1.6 force: 'true' - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 - id: context shell: bash