update-assets
update-assets #421
update-assets #421
Workflow file for this run
|
name: update-assets |
|
|
|
on: |
|
schedule: |
|
- cron: 00 09 * * * |
|
|
|
jobs: |
|
updateref: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: 'Checkout' |
|
uses: 'actions/checkout@v2' |
|
|
|
- name: Pull build ref file from dbatools |
|
working-directory: assets |
|
run: curl -O https://raw.githubusercontent.com/sqlcollaborative/dbatools/development/bin/dbatools-buildref-index.json |
|
|
|
- name: commit if file changed |
|
uses: stefanzweifel/git-auto-commit-action@v4 |
|
with: |
|
commit_message: updating build ref file |
|
|
|
env: |
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
updateindex: |
|
runs-on: [ubuntu-latest] |
|
steps: |
|
- name: 'Checkout' |
|
uses: 'actions/checkout@v2' |
|
|
|
- name: Pull index file from dbatools |
|
working-directory: assets |
|
run: curl -O https://raw.githubusercontent.com/sqlcollaborative/dbatools/development/bin/dbatools-index.json |
|
|
|
- name: commit if file changed |
|
uses: stefanzweifel/git-auto-commit-action@v4 |
|
with: |
|
commit_message: updating build ref file |
|
|
|
env: |
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.