mirror of
https://github.com/coder/code-server.git
synced 2024-12-29 04:34:00 +03:00
4223cf6e2b
* refactor: rename ci -> build.yaml * feat: add build.yaml * feat: add node caching to platform jobs * trigger ci
40 lines
1000 B
YAML
40 lines
1000 B
YAML
name: Draft release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write # For creating releases.
|
|
discussions: write # For creating a discussion.
|
|
|
|
# Cancel in-progress runs for pull requests when developers push
|
|
# additional changes
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
jobs:
|
|
draft:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Download artifacts
|
|
uses: dawidd6/action-download-artifact@v2
|
|
id: download
|
|
with:
|
|
branch: ${{ github.ref }}
|
|
workflow: build.yaml
|
|
workflow_conclusion: completed
|
|
check_artifacts: true
|
|
name: release-packages
|
|
path: ./release-packages
|
|
|
|
- uses: softprops/action-gh-release@v1
|
|
with:
|
|
draft: true
|
|
discussion_category_name: "📣 Announcements"
|
|
files: ./release-packages/*
|