From bf90f08a537e7ba6dc798fd33a9aff6e91d8a3bf Mon Sep 17 00:00:00 2001 From: kkharji Date: Sat, 9 Jul 2022 14:47:28 +0300 Subject: [PATCH] chore(ci): update workflows --- .github/workflows/daily.yml | 13 ------------- .github/workflows/release.yml | 6 ++---- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 .github/workflows/daily.yml 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