From cf835f2a20496e7e212d9a33973f671a22ca67b3 Mon Sep 17 00:00:00 2001 From: Joe Di Pol Date: Fri, 19 Apr 2024 14:35:58 -0700 Subject: [PATCH 1/3] Add Upload Staged Artifacts step --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f04b3fbdb..134711fc8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,3 +71,9 @@ jobs: MAVEN_SETTINGS: ${{ secrets.MAVEN_SETTINGS }} build-cache: read-only run: etc/scripts/release.sh release_build + - name: Upload Staged Artifacts + uses: actions/upload-artifact@v4 + with: + name: io-helidon-build-tools-artifacts-${{ github.ref_name }} + path: target/nexus-staging/ + retention-days: 90 \ No newline at end of file From e2d3753d728033170e9ef874164907d76f341916 Mon Sep 17 00:00:00 2001 From: Joe Di Pol Date: Fri, 19 Apr 2024 14:47:04 -0700 Subject: [PATCH 2/3] Fix copyright --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 134711fc8..8c88e1eb5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ # -# Copyright (c) 2023 Oracle and/or its affiliates. +# Copyright (c) 2023, 2024 Oracle and/or its affiliates. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -76,4 +76,5 @@ jobs: with: name: io-helidon-build-tools-artifacts-${{ github.ref_name }} path: target/nexus-staging/ - retention-days: 90 \ No newline at end of file + retention-days: 90 + From 2db2aae0b2b404284796960ecbdc6a5b0352b502 Mon Sep 17 00:00:00 2001 From: Joe Di Pol Date: Wed, 24 Apr 2024 09:54:17 -0700 Subject: [PATCH 3/3] Use artifact-name/artifact-path with .github/actions/common to upload --- .github/workflows/release.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c88e1eb5..9b08b3761 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,11 +70,6 @@ jobs: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} MAVEN_SETTINGS: ${{ secrets.MAVEN_SETTINGS }} build-cache: read-only + artifact-name: io-helidon-build-tools-artifacts-${{ github.ref_name }} + artifact-path: target/nexus-staging/ run: etc/scripts/release.sh release_build - - name: Upload Staged Artifacts - uses: actions/upload-artifact@v4 - with: - name: io-helidon-build-tools-artifacts-${{ github.ref_name }} - path: target/nexus-staging/ - retention-days: 90 -