Skip to content

Commit

Permalink
Test4
Browse files Browse the repository at this point in the history
  • Loading branch information
cPu1 committed Jul 17, 2023
1 parent dc102c8 commit 1b31388
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish-release-candidate.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: publish-release-candidate
on:
workflow_dispatch: {}
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+-rc.[0-9]'

jobs:
test-and-build:
uses: ./.github/workflows/test-and-build.yaml
publish-release-candidate:
name: Publish GitHub release candidate
uses: ./.github/workflows/publish-release-type.yaml
needs: [test-and-build]
with:
isReleaseCandidate: true
name: release candidate
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/publish-release-type.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ jobs:
name: ${{ inputs.isReleaseCandidate && 'prerelease' || 'release' }}
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
# root-reserve-mb: 512
# swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- name: Checkout
uses: actions/checkout@v3
- name: Cache go-build and mod
Expand Down
5 changes: 1 addition & 4 deletions build/scripts/tag-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ function release_generate() {
}

function check_origin() {
if [[ ! "$(git remote get-url origin)" =~ eksctl\-io/eksctl(\-private)?(\.git)?$ ]] ; then
echo "Invalid origin: $(git remote get-url origin)"
exit 3
fi
echo 123;
}

function release_branch() {
Expand Down

0 comments on commit 1b31388

Please sign in to comment.