feat: cache release issue
This commit is contained in:
parent
8f13b294e5
commit
4789b86cca
2 changed files with 34 additions and 0 deletions
|
@ -55,3 +55,14 @@ jobs:
|
|||
./tea issues edit --title "Release $(cat version.txt)" ${{ github.event.issue.number }}
|
||||
./tea comment ${{ github.event.issue.number }} "Finished creating release"
|
||||
./tea issues close ${{ github.event.issue.number }}
|
||||
|
||||
- name: save release-issue
|
||||
shell: bash
|
||||
run: echo ${{ github.event.issue.number }} > release-issue
|
||||
|
||||
- name: cache release-issue
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: |
|
||||
release-issue
|
||||
key: release-issue
|
||||
|
|
23
.gitea/workflows/tag.yml
Normal file
23
.gitea/workflows/tag.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: on tags
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
|
||||
- name: cache release-issue
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: |
|
||||
release-issue
|
||||
key: release-issue
|
||||
|
||||
- name: show release-issue
|
||||
shell: bash
|
||||
run: cat release-issue
|
Loading…
Add table
Reference in a new issue