Skip to content

Commit

Permalink
fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mbtaylor1982 authored Nov 18, 2024
1 parent 014723c commit 5476528
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:

- name: Copy, tag with version and create SHA256 checksum
run: |
mkdir -p releases/KiCad_Outputs_${{ github.ref_name }}
cp -r ./KiCad_Outputs.zip/. ./releases/KiCad_Outputs_${{ github.ref_name }}
mkdir -p releases
mv ./KiCad_Outputs.zip ./KiCad_Outputs
zip -r ./releases/KiCad_Outputs_${{ github.ref_name }}.zip ./KiCad_Outputs
cp OutputFiles_10M16_${{ github.ref_name }}.zip/RESDMAC.pof ./releases/RESDMAC_10M16_${{ github.ref_name }}.pof
cp OutputFiles_10M04_${{ github.ref_name }}.zip/RESDMAC.pof ./releases/RESDMAC_10M04_${{ github.ref_name }}.pof
cp OutputFiles_10M02_${{ github.ref_name }}.zip/RESDMAC.pof ./releases/RESDMAC_10M02_${{ github.ref_name }}.pof
Expand All @@ -38,6 +39,9 @@ jobs:
sha256sum OutputFiles_10M16_${{ github.ref_name }}.zip/RESDMAC.pof > ./releases/RESDMAC_10M16_${{ github.ref_name }}.pof.sha256
sha256sum OutputFiles_10M04_${{ github.ref_name }}.zip/RESDMAC.pof > ./releases/RESDMAC_10M04_${{ github.ref_name }}.pof.sha256
sha256sum OutputFiles_10M02_${{ github.ref_name }}.zip/RESDMAC.pof > ./releases/RESDMAC_10M02_${{ github.ref_name }}.pof.sha256
- name: Display structure of files
run: ls -R

- name: Create a new GitHub release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 5476528

Please sign in to comment.