Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Nov 22, 2024
1 parent 4812c12 commit 3f9057c
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions .github/workflows/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ jobs:
# TODO: change to appropriate image
runs-on: ubuntu-latest
steps:
- name: Checkout dask
uses: actions/checkout@v4
with:
repository: dask/dask
path: dask
- name: Checkout distributed
uses: actions/checkout@v4
with:
repository: dask/distributed
path: distributed
- name: Run
run: |
(cd dask; git rev-parse HEAD;
cd ../distributed; git rev-parse HEAD) | tee commit-hashes.txt
- name: Upload commit hashes
uses: actions/upload-artifact@v4
with:
name: commit-hashes.txt
path: commit-hashes.txt
# TODO: This one is wrong, need to use the REST API to get the most recently uploaded artifact id.
# - name: Checkout dask
# uses: actions/checkout@v4
# with:
# repository: dask/dask
# path: dask
# - name: Checkout distributed
# uses: actions/checkout@v4
# with:
# repository: dask/distributed
# path: distributed
# - name: Run
# run: |
# (cd dask; git rev-parse HEAD;
# cd ../distributed; git rev-parse HEAD) | tee commit-hashes.txt
# - name: Upload commit hashes
# uses: actions/upload-artifact@v4
# with:
# name: commit-hashes.txt
# path: commit-hashes.txt
# # TODO: This one is wrong, need to use the REST API to get the most recently uploaded artifact id.
- name: Setup python
uses: actions/setup-python@v5
with:
Expand All @@ -41,9 +41,7 @@ jobs:
- name: Stuff
id: get_last_id
run: |
ls -l
pip install requests
ls -l utils
python utils/get.py ${{ secrets.GITHUB_TOKEN }}
# echo "last_run_id=$((${{ github.run_id }} - 1))" >> $GITHUB_OUTPUT
# - name: Download last run commit hashes
Expand Down

0 comments on commit 3f9057c

Please sign in to comment.