Skip to content

Commit

Permalink
mswin gh actions #20: try artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Sep 23, 2021
1 parent c0d4821 commit a91a515
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/windows.yml
Expand Up @@ -225,6 +225,32 @@ jobs:
'
shell: cmd
- name: upload build artifacts - Freecell Solver Zip Distribution for PySol
FC
uses: actions/upload-artifact@v2
with:
name: Freecell Solver Zip Distribution for PySol FC
path: fc-solve\pkg-build\fc-solve-for-pysol.zip
- name: upload build artifacts - Freecell Solver Win32 Package
uses: actions/upload-artifact@v2
with:
name: Freecell Solver Win32 Package
path: fc-solve\pkg-build\freecell-solver-*-win32.exe
- name: upload build artifacts - Freecell Solver Win64 Package
uses: actions/upload-artifact@v2
with:
name: Freecell Solver Win64 Package
path: fc-solve\pkg-build-win64\freecell-solver-*-win64.exe
- name: upload build artifacts - Freecell Solver Win32 MSI Package
uses: actions/upload-artifact@v2
with:
name: Freecell Solver Win32 MSI Package
path: fc-solve\pkg-build\freecell-solver-*.msi
- name: upload build artifacts - Freecell Solver Win64 MSI Package
uses: actions/upload-artifact@v2
with:
name: Freecell Solver Win64 MSI Package
path: fc-solve\pkg-build-win64\freecell-solver-*.msi
strategy:
fail-fast: true
matrix:
Expand Down
5 changes: 5 additions & 0 deletions fc-solve/CI-testing/translate-travis.yml-to-github-actions.py
Expand Up @@ -175,6 +175,11 @@ def _calc_batch_code(cmds):
),
"shell": "cmd",
})
steps += [{
'name': "upload build artifacts - " + art['name'],
'uses': "actions/upload-artifact@v2",
'with': art
} for art in data['artifacts']]
with open(output_path, "wt") as outfh:
# yaml.safe_dump(o, outfh)
yaml.safe_dump(skel, stream=outfh, canonical=False, indent=4, )
Expand Down

0 comments on commit a91a515

Please sign in to comment.