-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (38 loc) · 1.07 KB
/
do-the-release-thing.yaml
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
name: Create release from tag
on:
push:
tags:
- "v3*"
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "release"
cancel-in-progress: true
jobs:
# Single deploy job since we're just deploying
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
#- name: Set up JDK 17
# uses: actions/setup-java@v3
# with:
# java-version: "17"
# distribution: "adopt"
- uses: actions/checkout@v4
with:
ref: hub
- name: Scala to JS
# run: ./mill js.fullLinkJS
run: touch main.js
- uses: olegtarasov/[email protected]
id: tagName
- name: Rename JS File to Release Name
run: |
mkdir ${{steps.tagName.outputs.tag}}
mv main.js ${{steps.tagName.outputs.tag}}/${{steps.tagName.outputs.tag}}.js
- uses: stefanzweifel/git-auto-commit-action@v5