Fix building lists and invert the order
This commit is contained in:
4
.github/workflows/build-lists.yml
vendored
4
.github/workflows/build-lists.yml
vendored
@ -19,10 +19,10 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Build the stretchoid list
|
||||
run: ./make-stretchoid.sh
|
||||
- name: Build the binaryedge list
|
||||
run: ./make-binaryedge.sh
|
||||
- name: Build the stretchoid list
|
||||
run: ./make-stretchoid.sh
|
||||
- name: Post the summary
|
||||
run: |
|
||||
git add -A
|
||||
|
@ -4,6 +4,10 @@ REV="v-$(date --iso-8601=seconds)"
|
||||
|
||||
cd ./digitalocean/
|
||||
|
||||
if [ ! -d ./binaryedge_revisions/ ]; then
|
||||
mkdir ./binaryedge_revisions
|
||||
fi
|
||||
|
||||
# With failure handling
|
||||
cat binaryedge_digitalocean_possible_ips.txt | xargs -P 50 -I {} bash -c 'set -eu;rev="$(dig @9.9.9.9 +short +time=1 +tries=1 -x {})"; if [[ "$rev" == *";;"* ]]; then sleep 1; rev="$(dig @8.8.8.8 +short +time=1 +tries=1 -x {})"; fi; echo "{} # $rev";' 1> binaryedge_revisions/$REV.txt
|
||||
|
||||
|
@ -4,6 +4,10 @@ REV="v-$(date --iso-8601=seconds)"
|
||||
|
||||
cd ./digitalocean/
|
||||
|
||||
if [ ! -d ./stretchoid_revisions/ ]; then
|
||||
mkdir ./stretchoid_revisions
|
||||
fi
|
||||
|
||||
# With failure handling
|
||||
cat stretchoid_digitalocean_possible_ips.txt | xargs -P 50 -I {} bash -c 'set -eu;rev="$(dig @9.9.9.9 +short +time=1 +tries=1 -x {})"; if [[ "$rev" == *";;"* ]]; then sleep 1; rev="$(dig @8.8.8.8 +short +time=1 +tries=1 -x {})"; fi; echo "{} # $rev";' 1> stretchoid_revisions/$REV.txt
|
||||
|
||||
|
Reference in New Issue
Block a user