GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feather/.github/workflows/release.yml at develop · JCloudYu/feather

Expand file tree

/

release.yml

Copy path
View runs
More file actions
More file actions

Latest commit

 

History

History
History
129 lines (111 loc) · 3.88 KB
/

release.yml

Copy path

File metadata and controls

129 lines (111 loc) · 3.88 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
name: release
on:
push:
tags:
- '*'
jobs:
build-release:
name: Build on 3 platforms
strategy:
matrix:
os: [ ubuntu-18.04, windows-2019, macos-10.15 ]
include:
- os: ubuntu-18.04
os-name: linux
executable-name: feather-server
- os: windows-2019
os-name: windows
executable-name: feather-server.exe
- os: macos-10.15
os-name: macOS
executable-name: feather-server
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
# Caching
- name: Cache cargo registry
uses: actions/cache@v1
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v1
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v1
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: Build (release mode)
run: cargo build --release
- name: Get tag name
uses: olegtarasov/get-tag@v2
id: tagName
- name: Compress executable
uses: papeloto/action-zip@v1
with:
files: target/release/${{ matrix.executable-name }}
dest: target/release/feather-${{ steps.tagName.outputs.tag }}-${{ matrix.os-name }}.zip
- name: Upload release artifact
uses: actions/upload-artifact@v2-preview
with:
name: ${{ matrix.os-name }}
path: target/release/feather-${{ steps.tagName.outputs.tag }}-${{ matrix.os-name }}.zip
publish:
name: Publish artifacts to GitHub Releases
runs-on: ubuntu-latest
needs: [build-release]
steps:
- name: Get tag name
uses: olegtarasov/get-tag@v2
id: tagName
- name: Create release
uses: actions/create-release@v1
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tagName.outputs.tag }}
release_name: Release ${{ steps.tagName.outputs.tag }}
draft: true
- name: Download Linux build
uses: actions/download-artifact@v1
with:
name: linux
- name: Download Windows build
uses: actions/download-artifact@v1
with:
name: windows
- name: Download macOS build
uses: actions/download-artifact@v1
with:
name: macOS
- name: Upload Linux package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: linux/feather-${{ steps.tagName.outputs.tag }}-linux.zip
asset_name: feather-${{ steps.tagName.outputs.tag }}-linux.zip
asset_content_type: application/zip
- name: Upload Windows package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: windows/feather-${{ steps.tagName.outputs.tag }}-windows.zip
asset_name: feather-${{ steps.tagName.outputs.tag }}-windows.zip
asset_content_type: application/zip
- name: Upload macOS package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: macOS/feather-${{ steps.tagName.outputs.tag }}-macOS.zip
asset_name: feather-${{ steps.tagName.outputs.tag }}-macOS.zip
asset_content_type: application/zip
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.