forked from bytecodealliance/wasm-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 739 Bytes
/
Copy pathpublish.yml
File metadata and controls
31 lines (28 loc) · 739 Bytes
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
# Publication of the `main` branch.
#
# Commits to `main` go through the merge queue first to produce artifacts and
# test results. If a special commit marker is found then a publish is made.
name: Publish Artifacts
on:
push:
branches: [main]
permissions:
contents: write
id-token: write
attestations: write
packages: write
jobs:
create_tag:
name: Publish artifacts of build
runs-on: ubuntu-latest
environment: release
if: |
github.repository_owner == 'bytecodealliance'
&& github.event_name == 'push'
&& github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v6
with:
submodules: true
fetch-depth: 0
- uses: ./.github/actions/publish-release