diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml deleted file mode 100644 index 805df79..0000000 --- a/.github/workflows/daily.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: daily -on: - schedule: - - cron: "* 23 * * *" - workflow_dispatch: # Allow for running this manually. - -jobs: - jgehrcke: - name: github-repo-stats - runs-on: ubuntu-latest - steps: - - name: github-repo-stats - uses: jgehrcke/github-repo-stats@v1.0.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4198bc4..adb8e21 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,11 +54,9 @@ jobs: run: | version="${{ steps.tag.outputs.TAG }}" version="${version//v/}" - sed -i'' "s/^version.*$/version = \"$version\"/g" daemon/Cargo.toml - sed -i'' "s/^version.*$/version = \"$version\"/g" sourcekit/Cargo.toml - sed -i'' "s/^version.*$/version = \"$version\"/g" lualib/Cargo.toml + sed -i'' "s/^version.*$/version = \"$version\"/g" Cargo.toml cargo update --workspace - git add CHANGELOG.md lualib/Cargo.toml sourcekit/Cargo.toml daemon/Cargo.toml Cargo.lock + git add CHANGELOG.md Cargo.toml Cargo.lock git config --global user.name 'release[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git