name: Release on: push: branches: - main schedule: - cron: "0 0 * * *" env: NPM_USER: ${{ secrets.NPM_USER }} NPM_PASS: ${{ secrets.NPM_PASS }} NPM_REGISTRY: ${{ vars.NPM_REGISTRY }} jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Go uses: actions/setup-go@v5 with: go-version-file: go.mod - name: Download dependencies run: go mod download - name: Run Go release script run: | chmod +x ./.devcontainer/initialize.sh ./.devcontainer/initialize.sh go run ./release.go