-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add optional 'directory' argument (and add ci test) (#2)
* add optional 'directory' argument (and add ci test) * add option table
- Loading branch information
Showing
7 changed files
with
67 additions
and
1 deletion.
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,40 @@ | ||
name: Test Action | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
env: | ||
MOD_NAME: community-maps-2 | ||
|
||
jobs: | ||
build-pyromod: | ||
runs-on: ubuntu-latest | ||
env: | ||
MOD_VERSION: ${{ github.sha }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- uses: 0ad-matters/gh-action-build-pyromod@v1 | ||
with: | ||
name: ${{ env.MOD_NAME }} | ||
version: ${{ env.MOD_VERSION }} | ||
directory: 'test/${{ env.MOD_NAME }}' | ||
id: build-pyromod | ||
- uses: 0ad-matters/gh-action-build-pyromod@trunk | ||
with: | ||
name: ${{ env.MOD_NAME }} | ||
version: ${{ env.MOD_VERSION }} | ||
directory: 'test/${{ env.MOD_NAME }}' | ||
id: build-pyromod | ||
#- name: Upload Artifacts | ||
## Uploads artifacts (combined into a zip file) to the workflow output page | ||
#uses: actions/upload-artifact@v3 | ||
#with: | ||
#name: ${{ env.MOD_NAME }}-${{ env.MOD_VERSION }} | ||
#path: "output/${{ env.MOD_NAME }}*.*" |
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,3 @@ | ||
[submodule "test/community-maps-2"] | ||
path = test/community-maps-2 | ||
url = https://github.com/0ad-matters/community-maps-2 |
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
2022-10-08 | ||
|
||
* Add optional 'directory' argument | ||
|
||
2022-10-07 | ||
|
||
* Use proper versioning | ||
|
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
Submodule community-maps-2
added at
235dd1