Skip to content

Fix reset directories #3

Fix reset directories

Fix reset directories #3

Workflow file for this run

name: Regen Provider and Module Versions
on: [push]
jobs:
bump-versions:
runs-on: ubuntu-latest
permissions:
contents: write
actions: write
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: './src/go.mod'
- name: Set up tools
run: sudo apt install -y findutils
- name: Clear existing providers
run: find ./providers/ ./modules | grep 'json$' | xargs -I foo bash -c "echo '{}' > foo"
- name: Run version bump script
working-directory: ./src
run: go run ./cmd/bump-versions