Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv2v
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
sv2v
Commits
a38d4998
Commit
a38d4998
authored
Mar 30, 2020
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix release artifact uploads
parent
3831dcff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
.github/workflows/test.yaml
+9
-12
No files found.
.github/workflows/test.yaml
View file @
a38d4998
...
...
@@ -78,33 +78,30 @@ jobs:
make test
release
:
runs-on
:
${{ matrix.os }}
runs-on
:
ubuntu-18.04
strategy
:
matrix
:
os
:
-
ubuntu-18.04
-
macOS-10.15
-
windows-2019
name
:
[
macOS
,
Linux
,
Windows
]
needs
:
build
if
:
github.event_name == 'release'
steps
:
-
name
:
Download Artifact
uses
:
actions/download-artifact@v1
with
:
name
:
${{
runner.os
}}
path
:
sv2v-${{
runner.os
}}
name
:
${{
matrix.name
}}
path
:
sv2v-${{
matrix.name
}}
-
name
:
Mark Binary Executable
if
:
runner.os == 'macOS' || runner.os
== 'Linux'
run
:
chmod +x */sv2v
if
:
matrix.name == 'macOS' || matrix.name
== 'Linux'
run
:
chmod +x */sv2v
*
-
name
:
Create ZIP
shell
:
bash
run
:
zip -r sv2v-${{
runner.os }} ./sv2v-${{ runner.os
}}
run
:
zip -r sv2v-${{
matrix.name }} ./sv2v-${{ matrix.name
}}
-
name
:
Upload Release Asset
uses
:
actions/upload-release-asset@v1.0.1
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
upload_url
:
${{ github.event.release.upload_url }}
asset_path
:
./sv2v-${{
runner.os
}}.zip
asset_name
:
sv2v-${{
runner.os
}}.zip
asset_path
:
./sv2v-${{
matrix.name
}}.zip
asset_name
:
sv2v-${{
matrix.name
}}.zip
asset_content_type
:
application/zip
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment