forked from OSS/graphql
24 lines
500 B
YAML
24 lines
500 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '**'
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: haskell
|
|
steps:
|
|
- name: Set up environment
|
|
run: |
|
|
apt-get update -y
|
|
apt-get upgrade -y
|
|
apt-get install -y nodejs pkg-config
|
|
- uses: actions/checkout@v4
|
|
- name: Upload a candidate
|
|
env:
|
|
HACKAGE_PASSWORD: ${{ secrets.HACKAGE_PASSWORD }}
|
|
run: |
|
|
cabal sdist
|
|
cabal upload --username belka --password ${HACKAGE_PASSWORD}
|