Skip to content

Commit

Permalink
Add a source artifact for Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
svaarala committed Aug 15, 2020
1 parent 757f48a commit 9b825ff
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/dist-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Dist
on: [push, pull_request]
jobs:
dist_source:
name: Source
runs-on: ubuntu-18.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install packages
run: |
sudo apt install build-essential make python python-yaml bc git
- name: Dist source
run: |
make dist-source
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: source-artifact
path: dist/*.tar.xz
# dist_site:
# name: Site
# runs-on: ubuntu-18.04
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Install packages
# run: |
# sudo apt install build-essential make python python-yaml bc git
# - name: Dist source
# run: |
# make dist-site
# - name: Upload artifact
# uses: actions/upload-artifact@v2
# with:
# name: site-artifact
# path: dist/*.tar.xz

0 comments on commit 9b825ff

Please sign in to comment.