-
Notifications
You must be signed in to change notification settings - Fork 25
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
1 parent
c1496c5
commit 0113131
Showing
1 changed file
with
9 additions
and
4 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 |
---|---|---|
|
@@ -44,6 +44,10 @@ jobs: | |
if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn` | ||
#optional retention-days: 1 to 90 | ||
|
||
outputs: | ||
# saving this as output for following jobs to pick up | ||
artifact_name: EdiromOnline_${{ steps.short-sha.outputs.sha }}.zip | ||
|
||
|
||
xqunit: | ||
name: Run XQSuite unit tests | ||
|
@@ -58,7 +62,7 @@ jobs: | |
- name: Download artifact from previous job | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: EdiromOnline_${{ steps.short-sha.outputs.sha }}.zip | ||
name: ${{ needs.build.outputs.artifact_name }} | ||
path: xars | ||
- name: debug | ||
run: ls -laR ${{ github.workspace }} | ||
|
@@ -78,7 +82,7 @@ jobs: | |
|
||
update-tag: | ||
name: Update git development tag and Github release | ||
needs: xqunit | ||
needs: [build,xqunit] | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
@@ -94,14 +98,15 @@ jobs: | |
- name: Download artifact from previous job | ||
uses: actions/download-artifact@v4 | ||
with: | ||
github-token: ${{ secrets.GH_PAT }} | ||
name: ${{ needs.build.outputs.artifact_name }} | ||
path: xars | ||
|
||
- name: Create dev-release | ||
if: ${{ github.event_name == 'push' && github.ref_name == 'develop' }} | ||
uses: ncipollo/[email protected] | ||
with: | ||
allowUpdates: true | ||
artifacts: ${{ github.workspace }}/Edirom-Online-*.xar | ||
artifacts: ${{ github.workspace }}/xars/Edirom-Online-*.xar | ||
commit: ${{ github.sha }} | ||
name: "Development Build" | ||
prerelease: true | ||
|