Skip to content

Commit

Permalink
move re-useable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
techknowlogick committed Oct 6, 2023
1 parent bab41dd commit e820d99
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ concurrency:
cancel-in-progress: true

jobs:
disk-clean:
uses: ./.github/workflows/disk-clean.yml
nightly-binary:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
- run: git fetch --unshallow --quiet --tags --force
- uses: ./.github/workflows/disk-clean.yml
- uses: actions/setup-go@v4
with:
go-version: "~1.21"
Expand Down Expand Up @@ -63,7 +64,6 @@ jobs:
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
- run: git fetch --unshallow --quiet --tags --force
- uses: ./.github/workflows/disk-clean.yml
- uses: actions/setup-go@v4
with:
go-version: "~1.21"
Expand Down Expand Up @@ -101,7 +101,6 @@ jobs:
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
- run: git fetch --unshallow --quiet --tags --force
- uses: ./.github/workflows/disk-clean.yml
- uses: actions/setup-go@v4
with:
go-version: "~1.21"
Expand Down

0 comments on commit e820d99

Please sign in to comment.