summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2019-10-21 20:28:07 +0300
committerYuval Adam <_@yuv.al>2019-10-21 20:28:07 +0300
commitb2c6e71c43d33ff67330c9a507ee286595c6fe8a (patch)
treea9add977c361775e2c6ffcf5b8946ea4476e1956 /.github/workflows
parentff233df9b03dfd25f6f0f33c3431c8987e5da796 (diff)
Just uploadv8
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml34
1 files changed, 6 insertions, 28 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d663933..5d8fe44 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -6,25 +6,8 @@ on:
- "*"
jobs:
-
- create:
- name: Create Release
- runs-on: ubuntu-latest
- steps:
- - name: Create Release
- id: create_release
- uses: actions/create-release@master
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- tag_name: ${{ github.ref }}
- release_name: Release ${{ github.ref }}
- draft: false
- prerelease: true # for now we only do pre-releases
-
- release:
- name: Release
- needs: create # only run after release has been created
+ build:
+ name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
@@ -72,13 +55,8 @@ jobs:
cp target/release/foo .
tar czvf ${{ matrix.output }} target/release/foo
- - name: Upload Release Asset
- id: upload-release-asset
- uses: actions/upload-release-asset@master
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Upload
+ uses: actions/upload-artifact@master
with:
- upload_url: ${{ jobs.create.steps.create_release.outputs.upload_url }}
- asset_path: ./${{ matrix.output }}
- asset_name: ${{ matrix.output }}
- asset_content_type: ${{ matrix.content_type }}
+ name: ${{ matrix.output }}
+ path: ${{ matrix.output }}