Skip to content

Commit

Permalink
rename some of the yml files and add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dangershony committed Jul 23, 2024
1 parent 5822c49 commit eae502e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and create a Release
name: Build Release Package

on:
push:
Expand Down Expand Up @@ -76,10 +76,12 @@ jobs:
echo RELEASE_PATH=./src/${{env.PROJECT_NAME}}/bin/publish/${{env.RELEASE_NAME}} >> $GITHUB_ENV
cd ./src/${{env.PROJECT_NAME}}/bin/publish/
tar cvzf ${{env.RELEASE_NAME}} *
- name: Package (Windows)
if: matrix.os == 'windows-latest'
run: |
Compress-Archive -Path .\src\${{env.PROJECT_NAME}}\bin\publish\* -DestinationPath .\${{env.RELEASE_NAME}}
- name: Package (Mac)
if: matrix.os == 'macos-latest'
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and create version tag
name: Create Version Tag

on:
push:
Expand Down Expand Up @@ -60,6 +60,10 @@ jobs:
- name: Unit Test
run: dotnet test -v=normal -c ${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_PATH}}

# this will check if the file 'Directory.Build.props' has changed,
# and if yes it creates a version tag which will trigger a
# deployment processes of 3 steps:
# version creation -> draft release package -> deployment mainet/testnet/signet
- name: Check for changes in Directory.Build.props
if: matrix.os == 'ubuntu-latest'
id: check_changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Release Docker Image
name: Deploy Docker Image
on:
release:
types: [published, prereleased]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-deploy-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Test to Github Pages
name: Deploy to Github Pages Test

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Release to Github Pages
name: Deploy to Github Pages Mainnet

on:
push:
Expand Down

0 comments on commit eae502e

Please sign in to comment.