Skip to content

wip: remove apt upgrade #5

wip: remove apt upgrade

wip: remove apt upgrade #5

Workflow file for this run

name: sg-release
on:
[push, workflow_dispatch]
jobs:
sg-release:
name: Run a release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install sg
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
chmod +x sg
- name: Install dependencies
run: sudo apt-get install libpcre3-dev libev4 -y
- name: Install Comby
run: bash <(curl -sL get-comby.netlify.app)
- name: Install gh
run: sudo 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 }}