Skip to content

Commit

Permalink
Switch release workflow to use studio-release-action
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed May 26, 2024
1 parent 073c213 commit 1073e5c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 39 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/release-major-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cliffano/studio-release-action@main
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: git config --global user.email "blah+pakkun@cliffano.com"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
- run: rtk release --release-increment-type major
- uses: ad-m/github-push-action@v0.8.0
with:
tags: true
release_type: 'major'
github_token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
branch: ${{ github.ref }}

15 changes: 2 additions & 13 deletions .github/workflows/release-minor-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cliffano/studio-release-action@main
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: git config --global user.email "blah+pakkun@cliffano.com"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
- run: rtk release --release-increment-type minor
- uses: ad-m/github-push-action@v0.8.0
with:
tags: true
release_type: 'major'
github_token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
branch: ${{ github.ref }}
15 changes: 2 additions & 13 deletions .github/workflows/release-patch-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cliffano/studio-release-action@main
with:
token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: git config --global user.email "blah+pakkun@cliffano.com"
- run: git config --global user.name "pakkunbot"
- run: npm install -g rtk
- run: rtk release --release-increment-type patch
- uses: ad-m/github-push-action@v0.8.0
with:
tags: true
release_type: 'major'
github_token: ${{ secrets.STUDIO_GITHUB_TOKEN }}
branch: ${{ github.ref }}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Upgraded itzg/minecraft-server to 2024.5.0
- Change integration test to run Minecraft server in offline mode
- Switch release workflow to use studio-release-action

### Fixed
- Fix intermittent integration test failure due to Minecraft server startup time
Expand Down

0 comments on commit 1073e5c

Please sign in to comment.