-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: gstraccini[bot] <150967461+gstraccini[bot]@users.noreply.github.com>
- Loading branch information
1 parent
942c3ee
commit e3a9fb5
Showing
1 changed file
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,13 +13,28 @@ jobs: | |
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
outputs: | ||
fullSemVer: ${{ steps.gitversion.outputs.fullSemVer }} | ||
|
||
steps: | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
versionSpec: '5.x' | ||
|
||
- name: Set up Node.js ${{ matrix.node-version }} | ||
- name: Determine Version | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
useConfigFile: true | ||
|
||
- name: Set up Node.js 20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
|
@@ -47,15 +62,18 @@ jobs: | |
name: Create release | ||
needs: build | ||
runs-on: ubuntu-latest | ||
env: | ||
fullSemVer: ${{ needs.deploy_service.outputs.fullSemVer }} | ||
|
||
steps: | ||
|
||
- name: Create Release | ||
uses: ncipollo/[email protected] | ||
with: | ||
skipIfReleaseExists: true | ||
allowUpdates: false | ||
draft: false | ||
makeLatest: true | ||
tag: v1.1.${{ github.run_number }} | ||
name: Release v1.1.${{ github.run_number }} | ||
tag: v${{ env.fullSemVer }} | ||
name: Release v${{ env.fullSemVer }} | ||
generateReleaseNotes: true | ||
body: Release 1.1.${{ github.run_number }} of Vagas Aggregator UI | ||
body: Release ${{ env.fullSemVer }} of ${{ github.repository }} |