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

Allow for publishing snapshots from the series/0.5 branch #231

Merged
merged 1 commit into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:
- run: sbt '++ ${{ matrix.scala }}' test mimaReportBinaryIssues doc

- name: Make target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/series/0.5')
run: mkdir -p testkit/target testkit/.bcpg-1.75/target core/.bcpg-1.74/target core/target testkit/.bcpg-1.72.1/target testkit/.bcpg-1.72/target core/.bcpg-1.72.2/target core/.bcpg-1.73/target core/.bcpg-1.76/target core/.bcpg-1.71.1/target testkit/.bcpg-1.73/target core/.bcpg-1.72/target testkit/.bcpg-1.74/target testkit/.bcpg-1.71/target testkit/.bcpg-1.76/target core/.bcpg-1.75/target testkit/.bcpg-1.72.2/target core/.bcpg-1.71/target core/.bcpg-1.72.1/target testkit/.bcpg-1.71.1/target project/target

- name: Compress target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/series/0.5')
run: tar cf targets.tar testkit/target testkit/.bcpg-1.75/target core/.bcpg-1.74/target core/target testkit/.bcpg-1.72.1/target testkit/.bcpg-1.72/target core/.bcpg-1.72.2/target core/.bcpg-1.73/target core/.bcpg-1.76/target core/.bcpg-1.71.1/target testkit/.bcpg-1.73/target core/.bcpg-1.72/target testkit/.bcpg-1.74/target testkit/.bcpg-1.71/target testkit/.bcpg-1.76/target core/.bcpg-1.75/target testkit/.bcpg-1.72.2/target core/.bcpg-1.71/target core/.bcpg-1.72.1/target testkit/.bcpg-1.71.1/target project/target

- name: Upload target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/series/0.5')
uses: actions/upload-artifact@v3
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}
Expand All @@ -74,7 +74,7 @@ jobs:
publish:
name: Publish Artifacts
needs: [build]
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/series/0.5')
strategy:
matrix:
os: [ubuntu-latest]
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ThisBuild / scalaVersion := V.Scalas.head
ThisBuild / crossScalaVersions := V.Scalas
ThisBuild / organization := "com.dwolla"
ThisBuild / homepage := Option(url("https://github.com/Dwolla/fs2-pgp"))
ThisBuild / licenses += ("MIT", url("http://opensource.org/licenses/MIT"))
ThisBuild / licenses += ("MIT", url("https://opensource.org/licenses/MIT"))
ThisBuild / startYear := Option(2020)
ThisBuild / developers := List(
Developer(
Expand All @@ -22,7 +22,7 @@ ThisBuild / githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("test", "mimaReport
ThisBuild / tlJdkRelease := Option(8)
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17"))
ThisBuild / githubWorkflowScalaVersions := Seq("2.13", "2.12")
ThisBuild / tlCiReleaseBranches := Seq("main")
ThisBuild / tlCiReleaseBranches := Seq("main", "series/0.5")
ThisBuild / tlBaseVersion := "0.4"
ThisBuild / tlSonatypeUseLegacyHost := true
ThisBuild / mergifyStewardConfig ~= {
Expand Down