Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
AutoAWQ
Commits
51f89b6c
Commit
51f89b6c
authored
Aug 29, 2023
by
Casper
Browse files
Replace creating release with script
parent
0fab60af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
.github/workflows/build.yaml
.github/workflows/build.yaml
+9
-2
No files found.
.github/workflows/build.yaml
View file @
51f89b6c
...
@@ -63,9 +63,16 @@ jobs:
...
@@ -63,9 +63,16 @@ jobs:
$wheel_path = Get-ChildItem dist\*.whl | ForEach-Object { $_.Name }
$wheel_path = Get-ChildItem dist\*.whl | ForEach-Object { $_.Name }
echo "wheel_path=$wheel_path" >> $env:GITHUB_ENV
echo "wheel_path=$wheel_path" >> $env:GITHUB_ENV
-
name
:
Create
a
Release
-
name
:
Create Release
id
:
create_release
id
:
create_release
uses
:
shogo82148/actions-create-release@v1
uses
:
"
actions/github-script@v6"
env
:
RELEASE_TAG
:
${{ env.release_tag }}
with
:
github-token
:
"
${{
secrets.GITHUB_TOKEN
}}"
script
:
|
const script = require('.github/workflows/scripts/create_release.js')
await script(github, context, core)
-
name
:
Upload Assets
-
name
:
Upload Assets
uses
:
shogo82148/actions-upload-release-asset@v1
uses
:
shogo82148/actions-upload-release-asset@v1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment