Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit e35cc9d

Browse files
Update beta_release.yml
1 parent ead756b commit e35cc9d

File tree

1 file changed

+0
-79
lines changed

1 file changed

+0
-79
lines changed

.github/workflows/beta_release.yml

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -12,55 +12,7 @@ permissions:
1212
contents: write
1313

1414
jobs:
15-
changelog:
16-
strategy:
17-
matrix:
18-
platform: [ ubuntu-latest ]
19-
go-version: [ '1.21' ]
20-
name: Beta Release Changelog
21-
runs-on: ${{ matrix.platform }}
22-
steps:
23-
- name: Checkout
24-
uses: actions/checkout@v4
25-
with:
26-
fetch-depth: 0
27-
28-
- name: Create or update ref
29-
id: create-or-update-ref
30-
uses: ovsds/create-or-update-ref-action@v1
31-
with:
32-
ref: tags/beta
33-
sha: ${{ github.sha }}
34-
35-
- name: Delete beta tag
36-
run: git tag -d beta
37-
continue-on-error: true
38-
39-
- name: changelog # or [email protected] if ensure the stable result
40-
id: changelog
41-
run: |
42-
git tag -l
43-
npx changelogithub --output CHANGELOG.md
44-
45-
# Disable this right now, use github workflow assets for easier manipulation
46-
# - name: Upload assets
47-
# uses: softprops/action-gh-release@v2
48-
# with:
49-
# body_path: "See CHANGELOG.md"
50-
# files: CHANGELOG.md
51-
# prerelease: true
52-
# tag_name: beta
53-
- name: Upload assets
54-
uses: actions/upload-artifact@v4
55-
with:
56-
name: beta changelog
57-
path: ${{ github.workspace }}/CHANGELOG.md
58-
compression-level: 0
59-
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
60-
6115
release:
62-
needs:
63-
- changelog
6416
strategy:
6517
matrix:
6618
include:
@@ -107,11 +59,9 @@ jobs:
10759
github.com/alist-org/alist/v3/internal/conf.GitCommit=$git_commit
10860
github.com/alist-org/alist/v3/internal/conf.Version=$tag
10961
github.com/alist-org/alist/v3/internal/conf.WebVersion=dev
110-
11162
- name: Compress
11263
run: |
11364
bash build.sh zip ${{ matrix.hash }}
114-
11565
# See above
11666
# - name: Upload assets
11767
# uses: softprops/action-gh-release@v2
@@ -128,39 +78,10 @@ jobs:
12878
echo "Original target: ${{ matrix.target }}"
12979
echo "Cleaned target: $CLEANED_TARGET"
13080
echo "cleaned_target=$CLEANED_TARGET" >> $GITHUB_ENV
131-
13281
- name: Upload assets
13382
uses: actions/upload-artifact@v4
13483
with:
13584
name: beta builds for ${{ env.cleaned_target }}
13685
path: ${{ github.workspace }}/build/compress/*
13786
compression-level: 0
13887
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
139-
140-
# TODO: We do not have desktop clients right now.
141-
# desktop:
142-
# needs:
143-
# - release
144-
# name: Beta Release Desktop
145-
# runs-on: ubuntu-latest
146-
# steps:
147-
# - name: Checkout repo
148-
# uses: actions/checkout@v4
149-
# with:
150-
# repository: alist-org/desktop-release
151-
# ref: main
152-
# persist-credentials: false
153-
# fetch-depth: 0
154-
155-
# - name: Commit
156-
# run: |
157-
# git config --local user.email "[email protected]"
158-
# git config --local user.name "IlaBot"
159-
# git commit --allow-empty -m "Trigger build for ${{ github.sha }}"
160-
161-
# - name: Push commit
162-
# uses: ad-m/github-push-action@master
163-
# with:
164-
# github_token: ${{ secrets.MY_TOKEN }}
165-
# branch: main
166-
# repository: alist-org/desktop-release

0 commit comments

Comments
 (0)