Skip to content

Commit e02b37f

Browse files
paketo-botpaketo-botjoshzarrabi
authored
Update shared github-config (paketo-buildpacks#28)
Co-authored-by: paketo-bot <[email protected]> Co-authored-by: Josh Zarrabi <[email protected]>
1 parent 7b3c321 commit e02b37f

3 files changed

Lines changed: 3 additions & 18 deletions

File tree

.github/workflows/create-draft-release.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,7 @@ jobs:
4040
run: ./scripts/package.sh --version "${{ steps.tag.outputs.tag }}"
4141
- name: Create Release Notes
4242
id: create-release-notes
43-
run: |
44-
mkdir -p "${{ github.workspace }}/bin"
45-
export PATH="${PATH}:${{ github.workspace }}/bin"
46-
curl "https://github.com/paketo-buildpacks/packit/releases/download/v0.0.14/jam-linux" \
47-
--silent \
48-
--location \
49-
--output "${{ github.workspace }}/bin/jam"
50-
chmod +x "${{ github.workspace }}/bin/jam"
51-
RELEASE_BODY=$(jam summarize --buildpack "${{ github.workspace }}/build/buildpack.tgz" --format markdown)
52-
# Coz of this messed up issue
53-
# https://github.community/t5/GitHub-Actions/set-output-Truncates-Multiline-Strings/m-p/38372#M3322
54-
RELEASE_BODY="${RELEASE_BODY//'%'/'%25'}"
55-
RELEASE_BODY="${RELEASE_BODY//$'\n'/'%0A'}"
56-
RELEASE_BODY="${RELEASE_BODY//$'\r'/'%0D'}"
57-
echo "::set-output name=release_body::$RELEASE_BODY"
43+
uses: paketo-buildpacks/github-config/actions/release/notes/language-family@master
5844
- name: Create Draft Release
5945
uses: paketo-buildpacks/github-config/actions/release/create@master
6046
with:

.github/workflows/update-buildpack-toml.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ jobs:
5151
--data '{
5252
"head": "dependency-update/${{ steps.dependency.outputs.id }}/${{ steps.dependency.outputs.version }}",
5353
"base": "master",
54-
"title": "Update ${{ steps.dependency.outputs.id }}",
55-
"body": "Updates ${{ steps.dependency.outputs.id }} to ${{ steps.dependency.outputs.version }}"
54+
"title": "Updates ${{ steps.dependency.outputs.id }} to ${{ steps.dependency.outputs.version }}"
5655
}'
5756

scripts/integration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function images::pull() {
5050
function tests::run() {
5151
util::print::title "Run Buildpack Runtime Integration Tests"
5252
pushd "${BUILDPACKDIR}" > /dev/null
53-
if GOMAXPROCS=4 go test -timeout 0 ./integration/... -v -run Integration; then
53+
if GOMAXPROCS="${GOMAXPROCS:-4}" go test -count=1 -timeout 0 ./integration/... -v -run Integration; then
5454
util::print::success "** GO Test Succeeded **"
5555
else
5656
util::print::error "** GO Test Failed **"

0 commit comments

Comments
 (0)