Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexito4 committed Nov 25, 2020
1 parent e33709e commit 50d20cc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Upload Release Build

on:
release:
types: [published]

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: swift package update; swift build -c release
- name: Zip
run: zip --junk-paths runeterrawallpaper.zip .build/release/runeterrawallpaper
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./runeterrawallpaper.zip
asset_name: runeterrawallpaper.zip
asset_content_type: application/zip

0 comments on commit 50d20cc

Please sign in to comment.