Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking โ€œSign up for GitHubโ€, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format workflows #1109

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Format workflows
Hinton committed Oct 3, 2024
commit d7192a7afc823a2a07467b13e8d6eb49b3288bac
3 changes: 1 addition & 2 deletions .github/workflows/publish-bws.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ on:
- Release
- Dry Run
version:
description: 'Version to publish (default: latest bws cli release)'
description: "Version to publish (default: latest bws cli release)"
required: true
type: string
default: latest
@@ -71,7 +71,6 @@ jobs:
description: "Deployment ${{ steps.version-output.outputs.version }} from branch ${{ github.ref_name }}"
task: release


publish:
name: Publish bws to crates.io
runs-on: ubuntu-22.04
16 changes: 8 additions & 8 deletions .github/workflows/publish-dotnet.yml
Original file line number Diff line number Diff line change
@@ -66,10 +66,10 @@ jobs:
uses: chrnorm/deployment-action@55729fcebec3d284f60f5bcabbd8376437d696b1 # v2.0.7
id: deployment
with:
token: '${{ secrets.GITHUB_TOKEN }}'
initial-status: 'in_progress'
environment: 'dotnet - Production'
description: 'Deployment ${{ needs.validate.outputs.version }} from branch ${{ github.ref_name }}'
token: "${{ secrets.GITHUB_TOKEN }}"
initial-status: "in_progress"
environment: "dotnet - Production"
description: "Deployment ${{ needs.validate.outputs.version }} from branch ${{ github.ref_name }}"
task: release

- name: Download artifact
@@ -100,14 +100,14 @@ jobs:
if: ${{ inputs.release_type != 'Dry Run' && success() }}
uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806 # v2.0.3
with:
token: '${{ secrets.GITHUB_TOKEN }}'
state: 'success'
token: "${{ secrets.GITHUB_TOKEN }}"
state: "success"
deployment-id: ${{ steps.deployment.outputs.deployment_id }}

- name: Update deployment status to Failure
if: ${{ inputs.release_type != 'Dry Run' && failure() }}
uses: chrnorm/deployment-status@9a72af4586197112e0491ea843682b5dc280d806 # v2.0.3
with:
token: '${{ secrets.GITHUB_TOKEN }}'
state: 'failure'
token: "${{ secrets.GITHUB_TOKEN }}"
state: "failure"
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-rust-crates.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ on:
- Redeploy
- Dry Run
version:
description: 'Version to publish (default: latest rust crates release)'
description: "Version to publish (default: latest rust crates release)"
required: true
type: string
default: latest
1 change: 0 additions & 1 deletion .github/workflows/release-dotnet.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,6 @@ on:
- Release
- Dry Run


jobs:
setup:
name: Setup