mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-26 06:10:39 +01:00
Create auto-release.yml
This commit is contained in:
parent
2706394bfe
commit
45fa803943
27
.github/workflows/auto-release.yml
vendored
Normal file
27
.github/workflows/auto-release.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
name: Weekly Snapshot Release
|
||||
on:
|
||||
schedule:
|
||||
- cron: '15 20 * * 0'
|
||||
|
||||
jobs:
|
||||
create_release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set snapshot tag
|
||||
id: set_snapshot_tag
|
||||
run: echo ::set-output name=tag::snapshot-$(date +'%Y-%m-%d')
|
||||
|
||||
- name: Create release
|
||||
id: create_release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
generate_release_notes: true
|
||||
tag_name: ${{ steps.set_snapshot_tag.outputs.tag }}
|
||||
name: ${{ steps.set_snapshot_tag.outputs.tag }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user