Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release workflow #293

Merged
merged 1 commit into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
if: "github.event.release.prerelease"
runs-on: ubuntu-latest
steps:
# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v3
with:
token: ${{ secrets.RELEASE_ACTION_TOKEN }}
ref: ${{ github.head_ref }}

# Setup Java 11 environment for the next steps
- name: Setup Java
Expand All @@ -23,13 +29,6 @@ jobs:
distribution: 'adopt'
cache: gradle

# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v3
with:
token: ${{ secrets.RELEASE_ACTION_TOKEN }}
ref: ${{ github.head_ref }}

# Create beta version
- name: Create beta version
run: gradle createBetaVersion
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
if: "!github.event.release.prerelease"
runs-on: ubuntu-latest
steps:
# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v3
with:
token: ${{ secrets.RELEASE_ACTION_TOKEN }}
ref: ${{ github.head_ref }}

# Setup Java 11 environment for the next steps
- name: Setup Java
Expand All @@ -23,13 +29,6 @@ jobs:
distribution: 'adopt'
cache: gradle

# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v3
with:
token: ${{ secrets.RELEASE_ACTION_TOKEN }}
ref: ${{ github.head_ref }}

# Create release version
- name: Create release version
run: gradle createReleaseVersion
Expand Down