Skip to content

Commit

Permalink
WIP: added dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Chickensoupwithrice committed Jun 14, 2024
1 parent 647a25c commit 7975cfe
Showing 1 changed file with 25 additions and 6 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/sg-release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,33 @@
name: sg-release
on: workflow_dispatch

job:
on:
workflow_dispatch

env:


jobs:
sg-release:
name: Run a release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install sg
run: curl --proto '=https' --tlsv1.2 -sSLf https://install.sg.dev | sh
run: curl -L --proto '=https' --tlsv1.2 -sSLf -o sg https://github.com/sourcegraph/sg/releases/download/2024-06-11-15-14-add4baa4/sg_linux_amd64_static

#- name: Run internal release
# run: sg release create --version=auto
chmod +x sg
- name: Update apt
run: apt update && apt upgrade -y
- name: Install dependencies
run: apt-get install libpcre3-dev libev4 -y
- name: Install Comby
run: bash <(curl -sL get-comby.netlify.app)
- name: Install gh
run: apt install gh
- name: Run sg
run: ./sg release create --version=auto --inputs=server=auto --pretend
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

0 comments on commit 7975cfe

Please sign in to comment.