Skip to content

Commit

Permalink
Update buildService and releaseService
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominion5254 committed Jun 5, 2024
1 parent 89cfa96 commit 2c06383
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/buildService.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ jobs:
- name: Checkout services repository
uses: actions/checkout@v4

- name: Debug
run: |
pwd
ls -alR
- name: Build the service package
id: build
run: |
Expand All @@ -33,9 +27,11 @@ jobs:
make
PACKAGE_ID=$(yq -oy ".id" manifest.*)
echo "package_id=$PACKAGE_ID" >> $GITHUB_ENV
printf "\n SHA256SUM: $(sha256sum ${PACKAGE_ID}.s9pk) \n"
shell: bash

- name: Upload .s9pk
uses: actions/upload-artifact@v4
with:
name: ${{ env.package_id }}.s9pk
path: ./${{ env.package_id }}.s9pk
path: ./${{ env.package_id }}.s9pk
3 changes: 2 additions & 1 deletion .github/workflows/releaseService.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- name: Generate sha256 checksum
run: |
PACKAGE_ID=${{ env.package_id }}
printf "\n SHA256SUM: $(sha256sum ${PACKAGE_ID}.s9pk) \n"
sha256sum ${PACKAGE_ID}.s9pk > ${PACKAGE_ID}.s9pk.sha256
shell: bash

Expand Down Expand Up @@ -68,4 +69,4 @@ jobs:
echo "Publish skipped: missing registry credentials."
else
start-sdk publish https://$S9USER:$S9PASS@$S9REGISTRY ${{ env.package_id }}.s9pk
fi
fi

0 comments on commit 2c06383

Please sign in to comment.