@cryptotaxi247 / netdata-1 / commits / f0db706da

Fix handling of artifacts in release build workflow. (#11705)

Austin S. Hemmelgarn committed Oct 22, 2021 at 11:20 UTC f0db706da6acfe73f7c2aa2512cdcbf65352dc82
1 file changed +7 -6
.github/workflows/release-build.yml
+7 -6
@@ -133,10 +133,10 @@ jobs:
133 - name: Prepare Artifacts
134 working-directory: ./artifacts/
135 run: |
136 - mv ../dist-tarball/* artifacts
137 - mv ../static-archive/* artifacts
138 - cp ../packaging/version artifacts/latest-version.txt
139 - sha256sum -b ./* > "sha256sums.txt"
136 + mv ../dist-tarball/* .
137 + mv ../static-archive/* .
138 + cp ../packaging/version latest-version.txt
139 + sha256sum -b ./* > sha256sums.txt
140 - name: Store Artifacts
141 uses: actions/upload-artifact@v2
142 with:
@@ -182,7 +182,8 @@ jobs:
182 with:
183 destination: ${{ secrets.GCP_NIGHTLY_STORAGE_BUCKET }}
184 gzip: false
185 - path: ./
185 + path: ./final-artifacts
186 + parent: false
187 - name: Failure Notification
188 uses: rtCamp/action-slack-notify@v2
189 env:
@@ -218,7 +219,7 @@ jobs:
219 with:
220 allowUpdates: false
221 artifactErrorsFailBuild: true
221 - artifacts: 'sha256sums.txt,netdata-*.tar.gz,netdata-*.gz.run'
222 + artifacts: 'final-artifacts/sha256sums.txt,final-artifacts/netdata-*.tar.gz,final-artifacts/netdata-*.gz.run'
223 draft: true
224 tag: ${{ github.event.inputs.version }}
225 token: ${{ secrets.NETDATABOT_TOKEN }}