mirror of
https://github.com/apple/pkl.git
synced 2026-08-28 14:37:18 +02:00
Fix deploy build (#1798)
* Fix issue where the DeployJob and GithubRelease jobs download artifacts using a glob that only matches one artifact * Make NativeImageBuild task only produce outputs as declared by build; ensure there's no build_artifacts.txt, sources/ dir, etc.
This commit is contained in:
@@ -25,7 +25,7 @@ steps {
|
||||
(catalog.`actions/upload-artifact@v5`) {
|
||||
name = "Upload executable artifacts"
|
||||
with {
|
||||
name = "executable-java"
|
||||
name = "deploy-artifacts-java-executables"
|
||||
path = "*/build/executable/**/*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,9 +60,9 @@ steps {
|
||||
with {
|
||||
name =
|
||||
if (musl)
|
||||
"artifacts-\(project)-alpine-\(module.os)-\(module.arch)"
|
||||
"deploy-artifacts-\(project)-alpine-\(module.os)-\(module.arch)"
|
||||
else
|
||||
"artifacts-\(project)-\(module.os)-\(module.arch)"
|
||||
"deploy-artifacts-\(project)-\(module.os)-\(module.arch)"
|
||||
// Need to insert a wildcard to make actions/upload-artifact preserve the folder hierarchy.
|
||||
// See https://github.com/actions/upload-artifact/issues/206
|
||||
path = module.buildDir
|
||||
|
||||
@@ -16,7 +16,7 @@ steps {
|
||||
catalog.`actions/checkout@v6`
|
||||
(catalog.`actions/download-artifact@v6`) {
|
||||
with {
|
||||
pattern = "executable-**"
|
||||
pattern = "deploy-artifacts-**"
|
||||
`merge-multiple` = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ fixed job {
|
||||
steps {
|
||||
(catalog.`actions/download-artifact@v6`) {
|
||||
with {
|
||||
pattern = "executable-**"
|
||||
pattern = "deploy-artifacts-**"
|
||||
`merge-multiple` = true
|
||||
}
|
||||
}
|
||||
@@ -29,15 +29,12 @@ fixed job {
|
||||
// language=bash
|
||||
run =
|
||||
#"""
|
||||
# exclude build_artifacts.txt from publish
|
||||
rm -f */build/executable/*.build_artifacts.txt
|
||||
find */build/executable/* -type d | xargs rm -rf
|
||||
gh release create ${TAG_NAME} \
|
||||
--title "${TAG_NAME}" \
|
||||
--target "${GIT_SHA}" \
|
||||
--verify-tag \
|
||||
--notes "Release notes: https://pkl-lang.org/main/current/release-notes/changelog.html#release-${TAG_NAME}" \
|
||||
*/build/executable/*
|
||||
*/build/executable/* */build/distributions/*
|
||||
"""#
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+16
-16
@@ -194,7 +194,7 @@ jobs:
|
||||
- name: Upload executable artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: executable-java
|
||||
name: deploy-artifacts-java-executables
|
||||
path: '*/build/executable/**/*'
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -242,7 +242,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-linux-amd64
|
||||
name: deploy-artifacts-pkl-cli-linux-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -292,7 +292,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-linux-aarch64
|
||||
name: deploy-artifacts-pkl-cli-linux-aarch64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -341,7 +341,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-macOS-aarch64
|
||||
name: deploy-artifacts-pkl-cli-macOS-aarch64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -458,7 +458,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-alpine-linux-amd64
|
||||
name: deploy-artifacts-pkl-cli-alpine-linux-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -503,7 +503,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-windows-amd64
|
||||
name: deploy-artifacts-pkl-cli-windows-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -551,7 +551,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-linux-amd64
|
||||
name: deploy-artifacts-pkl-doc-linux-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -601,7 +601,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-linux-aarch64
|
||||
name: deploy-artifacts-pkl-doc-linux-aarch64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -650,7 +650,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-macOS-aarch64
|
||||
name: deploy-artifacts-pkl-doc-macOS-aarch64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -767,7 +767,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-alpine-linux-amd64
|
||||
name: deploy-artifacts-pkl-doc-alpine-linux-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -812,7 +812,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-windows-amd64
|
||||
name: deploy-artifacts-pkl-doc-windows-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -860,7 +860,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-linux-amd64
|
||||
name: deploy-artifacts-libpkl-linux-amd64
|
||||
path: libpkl/build/native-libs/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -910,7 +910,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-linux-aarch64
|
||||
name: deploy-artifacts-libpkl-linux-aarch64
|
||||
path: libpkl/build/native-libs/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -959,7 +959,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-macOS-aarch64
|
||||
name: deploy-artifacts-libpkl-macOS-aarch64
|
||||
path: libpkl*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1076,7 +1076,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-alpine-linux-amd64
|
||||
name: deploy-artifacts-libpkl-alpine-linux-amd64
|
||||
path: libpkl*/build/distributions/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1123,7 +1123,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-windows-amd64
|
||||
name: deploy-artifacts-libpkl-windows-amd64
|
||||
path: libpkl*/build/distributions/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
|
||||
Generated
+17
-17
@@ -192,7 +192,7 @@ jobs:
|
||||
- name: Upload executable artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: executable-java
|
||||
name: deploy-artifacts-java-executables
|
||||
path: '*/build/executable/**/*'
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -240,7 +240,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-linux-amd64
|
||||
name: deploy-artifacts-pkl-cli-linux-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -290,7 +290,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-linux-aarch64
|
||||
name: deploy-artifacts-pkl-cli-linux-aarch64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -339,7 +339,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-macOS-aarch64
|
||||
name: deploy-artifacts-pkl-cli-macOS-aarch64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -456,7 +456,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-alpine-linux-amd64
|
||||
name: deploy-artifacts-pkl-cli-alpine-linux-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -501,7 +501,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-windows-amd64
|
||||
name: deploy-artifacts-pkl-cli-windows-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -549,7 +549,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-linux-amd64
|
||||
name: deploy-artifacts-pkl-doc-linux-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -599,7 +599,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-linux-aarch64
|
||||
name: deploy-artifacts-pkl-doc-linux-aarch64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -648,7 +648,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-macOS-aarch64
|
||||
name: deploy-artifacts-pkl-doc-macOS-aarch64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -765,7 +765,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-alpine-linux-amd64
|
||||
name: deploy-artifacts-pkl-doc-alpine-linux-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -810,7 +810,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-windows-amd64
|
||||
name: deploy-artifacts-pkl-doc-windows-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -858,7 +858,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-linux-amd64
|
||||
name: deploy-artifacts-libpkl-linux-amd64
|
||||
path: libpkl/build/native-libs/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -908,7 +908,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-linux-aarch64
|
||||
name: deploy-artifacts-libpkl-linux-aarch64
|
||||
path: libpkl/build/native-libs/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -957,7 +957,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-macOS-aarch64
|
||||
name: deploy-artifacts-libpkl-macOS-aarch64
|
||||
path: libpkl*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1074,7 +1074,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-alpine-linux-amd64
|
||||
name: deploy-artifacts-libpkl-alpine-linux-amd64
|
||||
path: libpkl*/build/distributions/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1121,7 +1121,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-windows-amd64
|
||||
name: deploy-artifacts-libpkl-windows-amd64
|
||||
path: libpkl*/build/distributions/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1186,7 +1186,7 @@ jobs:
|
||||
persist-credentials: false
|
||||
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
|
||||
with:
|
||||
pattern: executable-**
|
||||
pattern: deploy-artifacts-**
|
||||
merge-multiple: true
|
||||
- env:
|
||||
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
|
||||
|
||||
Generated
+15
-15
@@ -126,7 +126,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-linux-amd64
|
||||
name: deploy-artifacts-pkl-cli-linux-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -178,7 +178,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-linux-aarch64
|
||||
name: deploy-artifacts-pkl-cli-linux-aarch64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -228,7 +228,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-macOS-aarch64
|
||||
name: deploy-artifacts-pkl-cli-macOS-aarch64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -347,7 +347,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-alpine-linux-amd64
|
||||
name: deploy-artifacts-pkl-cli-alpine-linux-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -394,7 +394,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-windows-amd64
|
||||
name: deploy-artifacts-pkl-cli-windows-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -444,7 +444,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-linux-amd64
|
||||
name: deploy-artifacts-pkl-doc-linux-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -496,7 +496,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-linux-aarch64
|
||||
name: deploy-artifacts-pkl-doc-linux-aarch64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -546,7 +546,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-macOS-aarch64
|
||||
name: deploy-artifacts-pkl-doc-macOS-aarch64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -665,7 +665,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-alpine-linux-amd64
|
||||
name: deploy-artifacts-pkl-doc-alpine-linux-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -712,7 +712,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-windows-amd64
|
||||
name: deploy-artifacts-pkl-doc-windows-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -762,7 +762,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-linux-amd64
|
||||
name: deploy-artifacts-libpkl-linux-amd64
|
||||
path: libpkl/build/native-libs/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -814,7 +814,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-linux-aarch64
|
||||
name: deploy-artifacts-libpkl-linux-aarch64
|
||||
path: libpkl/build/native-libs/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -864,7 +864,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-macOS-aarch64
|
||||
name: deploy-artifacts-libpkl-macOS-aarch64
|
||||
path: libpkl*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -983,7 +983,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-alpine-linux-amd64
|
||||
name: deploy-artifacts-libpkl-alpine-linux-amd64
|
||||
path: libpkl*/build/distributions/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1032,7 +1032,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-windows-amd64
|
||||
name: deploy-artifacts-libpkl-windows-amd64
|
||||
path: libpkl*/build/distributions/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
|
||||
Generated
+16
-16
@@ -192,7 +192,7 @@ jobs:
|
||||
- name: Upload executable artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: executable-java
|
||||
name: deploy-artifacts-java-executables
|
||||
path: '*/build/executable/**/*'
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -240,7 +240,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-linux-amd64
|
||||
name: deploy-artifacts-pkl-cli-linux-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -290,7 +290,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-linux-aarch64
|
||||
name: deploy-artifacts-pkl-cli-linux-aarch64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -339,7 +339,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-macOS-aarch64
|
||||
name: deploy-artifacts-pkl-cli-macOS-aarch64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -456,7 +456,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-alpine-linux-amd64
|
||||
name: deploy-artifacts-pkl-cli-alpine-linux-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -501,7 +501,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-windows-amd64
|
||||
name: deploy-artifacts-pkl-cli-windows-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -549,7 +549,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-linux-amd64
|
||||
name: deploy-artifacts-pkl-doc-linux-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -599,7 +599,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-linux-aarch64
|
||||
name: deploy-artifacts-pkl-doc-linux-aarch64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -648,7 +648,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-macOS-aarch64
|
||||
name: deploy-artifacts-pkl-doc-macOS-aarch64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -765,7 +765,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-alpine-linux-amd64
|
||||
name: deploy-artifacts-pkl-doc-alpine-linux-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -810,7 +810,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-windows-amd64
|
||||
name: deploy-artifacts-pkl-doc-windows-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -858,7 +858,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-linux-amd64
|
||||
name: deploy-artifacts-libpkl-linux-amd64
|
||||
path: libpkl/build/native-libs/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -908,7 +908,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-linux-aarch64
|
||||
name: deploy-artifacts-libpkl-linux-aarch64
|
||||
path: libpkl/build/native-libs/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -957,7 +957,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-macOS-aarch64
|
||||
name: deploy-artifacts-libpkl-macOS-aarch64
|
||||
path: libpkl*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1074,7 +1074,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-alpine-linux-amd64
|
||||
name: deploy-artifacts-libpkl-alpine-linux-amd64
|
||||
path: libpkl*/build/distributions/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1121,7 +1121,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-windows-amd64
|
||||
name: deploy-artifacts-libpkl-windows-amd64
|
||||
path: libpkl*/build/distributions/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
|
||||
Generated
+19
-22
@@ -193,7 +193,7 @@ jobs:
|
||||
- name: Upload executable artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: executable-java
|
||||
name: deploy-artifacts-java-executables
|
||||
path: '*/build/executable/**/*'
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -242,7 +242,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-linux-amd64
|
||||
name: deploy-artifacts-pkl-cli-linux-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -293,7 +293,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-linux-aarch64
|
||||
name: deploy-artifacts-pkl-cli-linux-aarch64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -343,7 +343,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-macOS-aarch64
|
||||
name: deploy-artifacts-pkl-cli-macOS-aarch64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -461,7 +461,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-alpine-linux-amd64
|
||||
name: deploy-artifacts-pkl-cli-alpine-linux-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -507,7 +507,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-cli-windows-amd64
|
||||
name: deploy-artifacts-pkl-cli-windows-amd64
|
||||
path: pkl-cli*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -556,7 +556,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-linux-amd64
|
||||
name: deploy-artifacts-pkl-doc-linux-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -607,7 +607,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-linux-aarch64
|
||||
name: deploy-artifacts-pkl-doc-linux-aarch64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -657,7 +657,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-macOS-aarch64
|
||||
name: deploy-artifacts-pkl-doc-macOS-aarch64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -775,7 +775,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-alpine-linux-amd64
|
||||
name: deploy-artifacts-pkl-doc-alpine-linux-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -821,7 +821,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-pkl-doc-windows-amd64
|
||||
name: deploy-artifacts-pkl-doc-windows-amd64
|
||||
path: pkl-doc*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -870,7 +870,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-linux-amd64
|
||||
name: deploy-artifacts-libpkl-linux-amd64
|
||||
path: libpkl/build/native-libs/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -921,7 +921,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-linux-aarch64
|
||||
name: deploy-artifacts-libpkl-linux-aarch64
|
||||
path: libpkl/build/native-libs/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -971,7 +971,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-macOS-aarch64
|
||||
name: deploy-artifacts-libpkl-macOS-aarch64
|
||||
path: libpkl*/build/executable/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1089,7 +1089,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-alpine-linux-amd64
|
||||
name: deploy-artifacts-libpkl-alpine-linux-amd64
|
||||
path: libpkl*/build/distributions/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1137,7 +1137,7 @@ jobs:
|
||||
- name: Upload built artifacts
|
||||
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
|
||||
with:
|
||||
name: artifacts-libpkl-windows-amd64
|
||||
name: deploy-artifacts-libpkl-windows-amd64
|
||||
path: libpkl*/build/distributions/**/*
|
||||
- name: Upload Test Result XML
|
||||
if: '!cancelled()'
|
||||
@@ -1203,7 +1203,7 @@ jobs:
|
||||
persist-credentials: false
|
||||
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
|
||||
with:
|
||||
pattern: executable-**
|
||||
pattern: deploy-artifacts-**
|
||||
merge-multiple: true
|
||||
- env:
|
||||
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEYID }}
|
||||
@@ -1220,7 +1220,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
|
||||
with:
|
||||
pattern: executable-**
|
||||
pattern: deploy-artifacts-**
|
||||
merge-multiple: true
|
||||
- name: Publish release on GitHub
|
||||
env:
|
||||
@@ -1229,15 +1229,12 @@ jobs:
|
||||
GIT_SHA: ${{ github.sha }}
|
||||
GH_REPO: ${{ github.repository }}
|
||||
run: |-
|
||||
# exclude build_artifacts.txt from publish
|
||||
rm -f */build/executable/*.build_artifacts.txt
|
||||
find */build/executable/* -type d | xargs rm -rf
|
||||
gh release create ${TAG_NAME} \
|
||||
--title "${TAG_NAME}" \
|
||||
--target "${GIT_SHA}" \
|
||||
--verify-tag \
|
||||
--notes "Release notes: https://pkl-lang.org/main/current/release-notes/changelog.html#release-${TAG_NAME}" \
|
||||
*/build/executable/*
|
||||
*/build/executable/* */build/distributions/*
|
||||
publish-test-results:
|
||||
if: '!cancelled()'
|
||||
needs:
|
||||
|
||||
Reference in New Issue
Block a user