Skip to content

Commit 0faf3d9

Browse files
committed
fixup: Inline step uploading tmpnet network data
1 parent 1a5222c commit 0faf3d9

File tree

1 file changed

+11
-2
lines changed
  • .github/actions/run-monitored-tmpnet-cmd

1 file changed

+11
-2
lines changed

.github/actions/run-monitored-tmpnet-cmd/action.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,18 @@ runs:
7575
GH_RUN_NUMBER: ${{ inputs.run_number }}
7676
GH_RUN_ATTEMPT: ${{ inputs.run_attempt }}
7777
GH_JOB_ID: ${{ inputs.job }}
78-
- name: Upload tmpnet network dir
79-
uses: ./.github/actions/upload-tmpnet-artifact
78+
# This step is duplicated from upload-tmpnet-artifact for the same
79+
# reason as the nix installation. There doesn't appear to be an
80+
# easy way to composee custom actions for use by other repos
81+
# without running into versioning issues.
82+
- name: Upload tmpnet data
83+
uses: actions/upload-artifact@v4
8084
if: always()
8185
with:
8286
name: ${{ inputs.artifact_prefix }}-tmpnet-data
87+
path: |
88+
~/.tmpnet/networks
89+
~/.tmpnet/prometheus/prometheus.log
90+
~/.tmpnet/promtail/promtail.log
91+
if-no-files-found: error
8392
# TODO(marun) Check that collection is working by querying prometheus and loki with the GH_* labels above

0 commit comments

Comments
 (0)