Skip to content

Commit

Permalink
build: Update bach-info ations
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Jan 21, 2023
1 parent f9c7ecf commit 55c6bf4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/early-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,6 @@ jobs:
echo "JAR_CSUM=$(echo $JAR_CSUM)" >> $GITHUB_OUTPUT
echo "DOC_SIZE=$(echo $DOC_SIZE)" >> $GITHUB_OUTPUT
- name: Bach-info script
uses: actions/upload-artifact@v3
with:
retention-days: 1
name: bach
path: .github/scripts/update-bach-info.sh

- name: JReleaser output
if: always()
uses: actions/upload-artifact@v3
Expand All @@ -142,9 +135,9 @@ jobs:
token: ${{ secrets.GIT_ACCESS_TOKEN }}

- name: Download bach-info script
uses: actions/download-artifact@v3
with:
name: bach
run: |
curl -sL https://raw.githubusercontent.com/kordamp/pomchecker/main/.github/scripts/update-bach-info.sh --output update-bach-info.sh
chmod +x update-bach-info.sh
- name: Commit
env:
Expand Down
17 changes: 5 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,6 @@ jobs:
echo "JAR_CSUM=$(echo $JAR_CSUM)" >> $GITHUB_OUTPUT
echo "DOC_SIZE=$(echo $DOC_SIZE)" >> $GITHUB_OUTPUT
- name: Bach-info script
uses: actions/upload-artifact@v3
with:
retention-days: 1
name: bach
path: .github/scripts/update-bach-info.sh

- name: JReleaser output
if: always()
uses: actions/upload-artifact@v3
Expand All @@ -129,7 +122,7 @@ jobs:

update-bach-info:
name: Update bach-info
needs: [precheck, release]
needs: [release]
runs-on: ubuntu-latest
continue-on-error: true
steps:
Expand All @@ -142,14 +135,14 @@ jobs:
token: ${{ secrets.GIT_ACCESS_TOKEN }}

- name: Download bach-info script
uses: actions/download-artifact@v3
with:
name: bach
run: |
curl -sL https://raw.githubusercontent.com/kordamp/pomchecker/main/.github/scripts/update-bach-info.sh --output update-bach-info.sh
chmod +x update-bach-info.sh
- name: Commit
env:
TAG: "v${{ github.event.inputs.version }}"
VERSION: ${{ needs.precheck.outputs.VERSION }}
VERSION: ${{ github.event.inputs.version }}
JAR_SIZE: ${{ needs.release.outputs.JAR_SIZE }}
JAR_CSUM: ${{ needs.release.outputs.JAR_CSUM }}
DOC_SIZE: ${{ needs.release.outputs.DOC_SIZE }}
Expand Down

0 comments on commit 55c6bf4

Please sign in to comment.