Skip to content

Commit e820d99

Browse files
move re-useable workflow
1 parent bab41dd commit e820d99

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release-nightly.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ concurrency:
99
cancel-in-progress: true
1010

1111
jobs:
12+
disk-clean:
13+
uses: ./.github/workflows/disk-clean.yml
1214
nightly-binary:
1315
runs-on: ubuntu-latest
1416
steps:
1517
- uses: actions/checkout@v4
1618
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
1719
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
1820
- run: git fetch --unshallow --quiet --tags --force
19-
- uses: ./.github/workflows/disk-clean.yml
2021
- uses: actions/setup-go@v4
2122
with:
2223
go-version: "~1.21"
@@ -63,7 +64,6 @@ jobs:
6364
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
6465
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
6566
- run: git fetch --unshallow --quiet --tags --force
66-
- uses: ./.github/workflows/disk-clean.yml
6767
- uses: actions/setup-go@v4
6868
with:
6969
go-version: "~1.21"
@@ -101,7 +101,6 @@ jobs:
101101
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
102102
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
103103
- run: git fetch --unshallow --quiet --tags --force
104-
- uses: ./.github/workflows/disk-clean.yml
105104
- uses: actions/setup-go@v4
106105
with:
107106
go-version: "~1.21"

0 commit comments

Comments
 (0)