GHA: Move up store-s3-paths step such that it is available for tcp dump storage

This commit is contained in:
aboyko
2024-01-30 09:41:05 -05:00
parent cfdd85535f
commit 3df1bf7426

View File

@@ -54,6 +54,13 @@ jobs:
echo "Installed tcpdump"
sudo tcpdump -s 0 -i eth0 -w mycap.pcap &
echo "Launched tcpdump"
- name: Store S3 Paths
id: s3-paths
run: |
dist_path=`cat ${{ github.workspace }}/eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target/s3-dist-path.txt`
p2_path=`cat ${{ github.workspace }}/eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target/s3-p2-repo-dist-path.txt`
echo "dist_path=$dist_path" >> $GITHUB_OUTPUT
echo "p2_path=$p2_path" >> $GITHUB_OUTPUT
- name: Install GPG key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" > gpg.asc
@@ -95,13 +102,6 @@ jobs:
echo "PID=${PID}"
sudo kill $PID
sudo sleep 10
- name: Store S3 Paths
id: s3-paths
run: |
dist_path=`cat ${{ github.workspace }}/eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target/s3-dist-path.txt`
p2_path=`cat ${{ github.workspace }}/eclipse-distribution/org.springframework.boot.ide.product.${{ inputs.eclipse_profile }}/target/s3-p2-repo-dist-path.txt`
echo "dist_path=$dist_path" >> $GITHUB_OUTPUT
echo "p2_path=$p2_path" >> $GITHUB_OUTPUT
- name: Cloudgate S3 Configuration
if: always()
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a