Skip to content

Commit

Permalink
Merge pull request #19 from nnsnodnb/add-artifact-action
Browse files Browse the repository at this point in the history
Add artifact action jobs
  • Loading branch information
nnsnodnb authored Dec 12, 2023
2 parents a02ef12 + 047a338 commit c75f89c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/artifact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: artifact

on:
push:
tags:
- v*.*.*

jobs:
ubuntu:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build artifact
run: make release_build

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: github-apps-token-swift-ubuntu
path: .build/release/github-apps-token

macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4

- name: Create artifactbundle for macOS
run: ./scripts/artifactbundle.sh

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: github-apps-token-swift-macos
path: GitHubAppsToken.artifactbundle.zip

0 comments on commit c75f89c

Please sign in to comment.