Skip to content

Commit

Permalink
Create release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler authored Jun 9, 2023
1 parent 0205c1c commit 016882f
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: release

on:

push:

tags: [ v*.*.* ]

jobs:

deploy:

name: Deploy

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

- name: Build



run: |
zip -r "code-server-${{ steps.get_version.outputs.version }}.zip" .
- id: get_version

uses: battila7/get-version-action@v2

- name: Publish

uses: softprops/action-gh-release@v1

with:

files: 'code-server*'

draft: true

env:

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 016882f

Please sign in to comment.