forked from castmart/jcountry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
JUAN CASTAÑEDA
committed
Jul 21, 2023
1 parent
8fdf39e
commit dd3dc2c
Showing
12 changed files
with
109 additions
and
61 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 |
---|---|---|
@@ -0,0 +1,85 @@ | ||
name: CI/CD | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
release_and_publish: | ||
name: Release and Publish | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '1.8' # Adjust the Java version to your project's requirements | ||
|
||
- name: Build Project | ||
run: ./gradlew build | ||
|
||
- name: Generate Release and Publish Package | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# GPR_USER: "jimdo-bot" | ||
# GPR_TOKEN: ${{ secrets.GPR_TOKEN }} | ||
run: | | ||
./gradlew release -Prelease.useAutomaticVersion=true | ||
# ./gradlew publish | ||
|
||
#jobs: | ||
# test: | ||
# name: Test | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Check out code | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# persist-credentials: false | ||
# | ||
# - name: Set up JDK 11 | ||
# uses: actions/[email protected] | ||
# with: | ||
# distribution: 'zulu' | ||
# java-version: '11' | ||
# cache: 'gradle' | ||
# | ||
# - name: Run tests | ||
# run: ./gradlew check | ||
# | ||
# publish: | ||
# name: Publish | ||
# needs: | ||
# - test | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Check out code | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# persist-credentials: false | ||
# | ||
# - name: Set up JDK 11 | ||
# uses: actions/[email protected] | ||
# with: | ||
# distribution: 'zulu' | ||
# java-version: '11' | ||
# cache: 'gradle' | ||
# | ||
# - name: Publish snapshot | ||
# if: github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/') | ||
# run: make publish-snapshot | ||
# env: | ||
# BRANCH: ${GITHUB_REF#refs/heads/} | ||
# USERNAME: "jimdo-bot" | ||
# TOKEN: ${{ secrets.TOKEN }} | ||
# | ||
# - name: Publish | ||
# if: startsWith(github.ref, 'refs/tags/') | ||
# run: make publish | ||
# env: | ||
# USERNAME: "jimdo-bot" | ||
# TOKEN: ${{ secrets.TOKEN }} |
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
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
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
2 changes: 1 addition & 1 deletion
2
.../io/github/castmart/jcountry/Country.java → ...main/java/com/jimdo/jcountry/Country.java
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
2 changes: 1 addition & 1 deletion
2
...o/github/castmart/jcountry/CountryDB.java → ...in/java/com/jimdo/jcountry/CountryDB.java
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
2 changes: 1 addition & 1 deletion
2
...thub/castmart/jcountry/CountryDBImpl.java → ...ava/com/jimdo/jcountry/CountryDBImpl.java
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
2 changes: 1 addition & 1 deletion
2
...io/github/castmart/jcountry/JCountry.java → ...ain/java/com/jimdo/jcountry/JCountry.java
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
2 changes: 1 addition & 1 deletion
2
...io/github/castmart/jcountry/Language.java → ...ain/java/com/jimdo/jcountry/Language.java
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
2 changes: 1 addition & 1 deletion
2
.../github/castmart/jcountry/LanguageDB.java → ...n/java/com/jimdo/jcountry/LanguageDB.java
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
2 changes: 1 addition & 1 deletion
2
...hub/castmart/jcountry/LanguageDBImpl.java → ...va/com/jimdo/jcountry/LanguageDBImpl.java
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
2 changes: 1 addition & 1 deletion
2
...ithub/castmart/jcountry/JCountryTest.java → ...java/com/jimdo/jcountry/JCountryTest.java
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