Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
piotradamczyk5 authored Dec 8, 2020
1 parent 93d5093 commit 4ca2d44
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
upload_linux_binaries:
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Archive Release
Expand All @@ -34,3 +24,20 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload linux workflow.zip --clobber
upload_windows_binaries:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Archive Release
uses: thedoctor0/zip-release@master
with:
filename: 'workflow.zip'
exclusions: '*.git*'

- name: Run a multi-line script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload windows workflow.zip --clobber

0 comments on commit 4ca2d44

Please sign in to comment.