diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yml | 34 |
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 }} |
