Skip to content

Commit

Permalink
more workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mbtaylor1982 committed Nov 18, 2024
1 parent da6d985 commit 3e15f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_PWD }}
env:
VERSION: ${{ github.ref_name != '' && github.ref_name || 'v9.9' }}
VERSION: ${{ startsWith(github.ref_name, 'v') && github.ref_name || 'v9.9'}}
steps:
# 1 - Checkout repository
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Copy, tag with version and create SHA256 checksum
run: |
mkdir -p ../releases
cp KiCad_Outputs.zip ../releases/KiCad_Outputs_${{ github.ref_name }}
cp -r KiCad_Outputs.zip ../releases/KiCad_Outputs_${{ github.ref_name }}
cp output_files_10M16_${{ github.ref_name }}.zip/RESDMAC.pof ../releases/RESDMAC_10M16_${{ github.ref_name }}.pof
cp output_files_10M04_${{ github.ref_name }}.zip/RESDMAC.pof ../releases/RESDMAC_10M04_${{ github.ref_name }}.pof
cp output_files_10M02_${{ github.ref_name }}.zip/RESDMAC.pof ../releases/RESDMAC_10M02_${{ github.ref_name }}.pof
Expand Down

0 comments on commit 3e15f26

Please sign in to comment.