Skip to content

Commit 054795e

Browse files
chore: release main (#17)
1 parent d9a414f commit 054795e

File tree

6 files changed

+23
-21
lines changed

6 files changed

+23
-21
lines changed

.github/workflows/example.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Deploy to Akash
2828
id: deploy
29-
uses: akash-network/gh-actions/packages/deploy@deploy/v0.3.0
29+
uses: akash-network/gh-actions/packages/deploy@deploy/v0.3.1
3030
with:
3131
mnemonic: ${{ secrets.AKASH_MNEMONIC }}
3232
bid-filter: | # yaml
@@ -117,7 +117,7 @@ jobs:
117117
OUT_PATH: example/deploy.yml
118118
- name: Deploy to Akash
119119
id: deploy
120-
uses: akash-network/gh-actions/packages/deploy@deploy/v0.3.0
120+
uses: akash-network/gh-actions/packages/deploy@deploy/v0.3.1
121121
with:
122122
mnemonic: ${{ secrets.AKASH_MNEMONIC }}
123123
bid-filter: | # yaml

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"packages/deploy": "0.3.0",
2+
"packages/deploy": "0.3.1",
33
"packages/close-deployment": "0.1.0"
44
}

packages/deploy/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.3.1](https://github.com/akash-network/gh-actions/compare/deploy/v0.3.0...deploy/v0.3.1) (2026-02-22)
4+
5+
6+
### Bug Fixes
7+
8+
* reduces what is stored in deployment stored state ([#15](https://github.com/akash-network/gh-actions/issues/15)) ([d9a414f](https://github.com/akash-network/gh-actions/commit/d9a414faecedd91020b5c2e3b4eb03efc3287f2e))
9+
310
## [0.3.0](https://github.com/akash-network/gh-actions/compare/deploy/v0.2.0...deploy/v0.3.0) (2026-02-22)
411

512

packages/deploy/dist/index.js

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -181075,7 +181075,7 @@ async function updateDeploymentManifest(sdk, wallet, inputs, existingDeployment,
181075181075
};
181076181076
await sdk.akash.deployment.v1beta4.updateDeployment(updateMessage, buildTxOptions(inputs, "Deployment updated via GitHub Action"));
181077181077
logger.info("\u2705 Deployment updated on-chain successfully!");
181078-
const fakeBid = { id: { ...lease.id, bseq: 0 }, price: lease.price };
181078+
const fakeBid = { id: { ...lease.id, bseq: 0 } };
181079181079
const token = await tokenGenerator(wallet, fakeBid, manifest.groups.map((g3) => g3.services.map((s4) => s4.name)).flat());
181080181080
const provider = await sdk.akash.provider.v1beta4.getProvider({ owner: lease.id.provider });
181081181081
logger.info(`Submitting updated manifest to provider: ${provider.provider.hostUri}`);
@@ -181219,19 +181219,6 @@ function validateStoredDeploymentDetails(data2) {
181219181219
if (typeof id.provider !== "string" || !id.provider) {
181220181220
throw new Error("'lease.id.provider' must be a non-empty string");
181221181221
}
181222-
if (typeof lease.state !== "string" || !lease.state) {
181223-
throw new Error("'lease.state' must be a non-empty string");
181224-
}
181225-
if (typeof lease.price !== "object" || lease.price === null) {
181226-
throw new Error("'lease.price' must be an object");
181227-
}
181228-
const price = lease.price;
181229-
if (typeof price.amount !== "string") {
181230-
throw new Error("'lease.price.amount' must be a string");
181231-
}
181232-
if (typeof price.denom !== "string") {
181233-
throw new Error("'lease.price.denom' must be a string");
181234-
}
181235181222
return data2;
181236181223
}
181237181224

@@ -181675,8 +181662,16 @@ async function run() {
181675181662
if (result2.isNew && inputs.deploymentDetailsPath && result2.lease) {
181676181663
const outPath = path3__namespace.resolve(process.cwd(), inputs.deploymentDetailsPath);
181677181664
const details = {
181678-
dseq: result2.deploymentId.dseq,
181679-
lease: result2.lease
181665+
dseq: result2.deploymentId.dseq.toString(),
181666+
lease: {
181667+
id: {
181668+
owner: result2.lease.id.owner,
181669+
dseq: result2.lease.id.dseq.toString(),
181670+
gseq: Number(result2.lease.id.gseq),
181671+
oseq: Number(result2.lease.id.oseq),
181672+
provider: result2.lease.id.provider
181673+
}
181674+
}
181680181675
};
181681181676
fs__namespace.mkdirSync(path3__namespace.dirname(outPath), { recursive: true });
181682181677
fs__namespace.writeFileSync(outPath, JSON.stringify(details, null, 2), "utf-8");

packages/deploy/dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/deploy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@akashnetwork/deploy",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "GitHub Action to deploy applications on Akash Network",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)