Skip to content

Commit

Permalink
Fix ci (#12)
Browse files Browse the repository at this point in the history
* Fix ci

* Fix package

* Update build-example.yml

* Update build-example.yml

* Update build-example.yml

* Update build-example.yml

* Update build-example.yml

* Update build-example.yml
  • Loading branch information
aromanov91 authored Sep 27, 2023
1 parent 1e435c4 commit f5fbc69
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.ACTIONS_TOKEN }}
repository: oversizedev/OversizeResources

- name: Build iOS
run: |
xcodebuild clean build -project "${{ env.PROJECT_DIR }}/${{ env.PROJECT_NAME }}" -scheme "${{ env.iOSSCHEME }}" | xcpretty
env:
destination: ${{ matrix.iosDestination }}

name: Bump version
on:
push:
branches:
- main
jobs:

tag:
name: Create tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'

- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
WITH_V: false
20 changes: 20 additions & 0 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Bump version
on:
push:
branches:
- main
jobs:

tag:
name: Create tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'

- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
WITH_V: false
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let package = Package(
.library(name: "OversizeNotificationKit", targets: ["OversizeNotificationKit"]),
.library(name: "OversizePhotoKit", targets: ["OversizePhotoKit"]),
],
dependencies: developmentDependencies,
dependencies: productionDependencies,
targets: [
.target(
name: "OversizeKit",
Expand Down

0 comments on commit f5fbc69

Please sign in to comment.