-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
5 changed files
with
30 additions
and
32 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 |
---|---|---|
|
@@ -12,21 +12,17 @@ on: | |
|
||
jobs: | ||
tests: | ||
uses: coldbox-modules/cbstorages/.github/workflows/tests.yml@development | ||
uses: ./.github/workflows/tests.yml | ||
secrets: inherit | ||
|
||
# Format PR | ||
format: | ||
name: Format | ||
format_check: | ||
name: Checks Source Code Formatting | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
|
||
- uses: Ortus-Solutions/[email protected] | ||
with: | ||
cmd: run-script format | ||
|
||
- name: Commit Format Changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Apply cfformat changes | ||
cmd: run-script format:check |
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup CommandBox | ||
uses: Ortus-Solutions/[email protected] | ||
|
@@ -64,7 +64,7 @@ jobs: | |
box task run taskfile=build/Build target=run :version=${{ env.VERSION }} :projectName=${{ env.MODULE_ID }} :buildID=${{ github.run_number }} :branch=${{ env.BRANCH }} | ||
- name: Commit Changelog To Master | ||
uses: EndBug/[email protected].1 | ||
uses: EndBug/[email protected].4 | ||
if: env.SNAPSHOT == 'false' | ||
with: | ||
author_name: Github Actions | ||
|
@@ -73,7 +73,7 @@ jobs: | |
add: changelog.md | ||
|
||
- name: Tag Version | ||
uses: rickstaa/action-create-tag@v1.6.1 | ||
uses: rickstaa/action-create-tag@v1.7.2 | ||
if: env.SNAPSHOT == 'false' | ||
with: | ||
tag: "v${{ env.VERSION }}" | ||
|
@@ -82,7 +82,7 @@ jobs: | |
|
||
- name: Upload Build Artifacts | ||
if: success() | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.MODULE_ID }} | ||
path: | | ||
|
@@ -118,7 +118,7 @@ jobs: | |
box forgebox publish --force | ||
- name: Create Github Release | ||
uses: taiki-e/create-gh-release-action@v1.6.2 | ||
uses: taiki-e/create-gh-release-action@v1.8.0 | ||
continue-on-error: true | ||
if: env.SNAPSHOT == 'false' | ||
with: | ||
|
@@ -138,7 +138,7 @@ jobs: | |
steps: | ||
# Checkout development | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: development | ||
|
||
|
@@ -148,7 +148,7 @@ jobs: | |
forgeboxAPIKey: ${{ secrets.FORGEBOX_TOKEN }} | ||
|
||
- name: Download build artifacts | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ env.MODULE_ID }} | ||
path: .tmp | ||
|
@@ -165,7 +165,7 @@ jobs: | |
# Commit it back to development | ||
- name: Commit Version Bump | ||
uses: EndBug/[email protected].1 | ||
uses: EndBug/[email protected].4 | ||
with: | ||
author_name: Github Actions | ||
author_email: [email protected] | ||
|
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