Skip to content

Commit

Permalink
Merge pull request #651 from swyddfa/develop
Browse files Browse the repository at this point in the history
New Release
  • Loading branch information
alcarney authored Oct 7, 2023
2 parents 3b98164 + 488b89e commit 8bb149a
Show file tree
Hide file tree
Showing 90 changed files with 5,791 additions and 1,150 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,12 @@ updates:

- package-ecosystem: "npm"
directory: "/code"
target-branch: "beta"
schedule:
interval: "weekly"

- package-ecosystem: "pip"
directory: "/code"
target-branch: "beta"
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/workflows/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
name: Issue Automation
steps:
- uses: 'actions/checkout@v3'
- uses: 'actions/checkout@v4'

- name: Run Script
env:
Expand Down
61 changes: 0 additions & 61 deletions .github/workflows/docs.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/lsp-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
67 changes: 67 additions & 0 deletions .github/workflows/lsp-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: 'Release: esbonio'
on:
push:
branches:
- release
paths:
- 'lib/esbonio/**'

jobs:
release:
name: esbonio release
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/esbonio
permissions:
contents: write
id-token: write

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
python-version: "3.10"

- run: |
sudo apt update
sudo apt install pandoc
python --version
python -m pip install --upgrade pip
python -m pip install --upgrade tox bump2version towncrier docutils
name: Setup Environment
- run: |
set -e
./scripts/make-release.sh lsp
name: Set Version
id: info
- name: Package
run: |
cd lib/esbonio
python -m tox -e pkg
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: 'dist'
path: lib/esbonio/dist

- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: lib/esbonio/dist/

- name: Create Release
run: |
gh release create "${RELEASE_TAG}" \
--title "Esbonio Language Server v${VERSION} - ${RELEASE_DATE}" \
-F lib/esbonio/.changes.html \
./lib/esbonio/dist/*
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
225 changes: 0 additions & 225 deletions .github/workflows/release.yml

This file was deleted.

Loading

0 comments on commit 8bb149a

Please sign in to comment.