feat: update.yaml

This commit is contained in:
Jason Song 2023-04-21 18:35:35 +08:00
parent d37920e730
commit b1458df9f8
No known key found for this signature in database
GPG Key ID: 8402EEEE4511A8B5
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
name: test
on:
- pull_request
- push
# push:
# branches:
# - master
# tags:
# - v*
jobs:
test:
strategy:
matrix:
brew_version: ["3.6.14", "latest"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update
run: ./bump_version.sh
- name: set key
run: |
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_KEY }}" | base64 -d > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan gitea.com >> ~/.ssh/known_hosts
- name: commit
run: |
git config --global user.email "teabot@gitea.io"
git config --global user.name "GiteaBot"
git add --all
git commit -m "[skip ci] Updated Version via cron"
#git push origin main